Lines Matching refs:file_protected
114 #ifndef file_protected
115 #define file_protected __attribute__ ((__visibility__("hidden"))) macro
119 #ifndef file_protected
120 #define file_protected macro
522 file_protected const char *file_fmtdatetime(char *, size_t, uint64_t, int);
523 file_protected const char *file_fmtdate(char *, size_t, uint16_t);
524 file_protected const char *file_fmttime(char *, size_t, uint16_t);
525 file_protected const char *file_fmtvarint(char *, size_t, const unsigned char *,
527 file_protected const char *file_fmtnum(char *, size_t, const char *, int);
528 file_protected struct magic_set *file_ms_alloc(int);
529 file_protected void file_ms_free(struct magic_set *);
530 file_protected int file_default(struct magic_set *, size_t);
531 file_protected int file_buffer(struct magic_set *, int, struct stat *,
533 file_protected int file_fsmagic(struct magic_set *, const char *,
535 file_protected int file_pipe2file(struct magic_set *, int, const void *,
537 file_protected int file_vprintf(struct magic_set *, const char *, va_list)
539 file_protected int file_separator(struct magic_set *);
540 file_protected char *file_copystr(char *, size_t, size_t, const char *);
541 file_protected int file_checkfmt(char *, size_t, const char *);
542 file_protected size_t file_printedlen(const struct magic_set *);
543 file_protected int file_print_guid(char *, size_t, const uint64_t *);
544 file_protected int file_parse_guid(const char *, uint64_t *);
545 file_protected int file_replace(struct magic_set *, const char *, const char *);
546 file_protected int file_printf(struct magic_set *, const char *, ...)
548 file_protected int file_reset(struct magic_set *, int);
549 file_protected int file_tryelf(struct magic_set *, const struct buffer *);
550 file_protected int file_trycdf(struct magic_set *, const struct buffer *);
552 file_protected int file_zmagic(struct magic_set *, const struct buffer *,
555 file_protected int file_ascmagic(struct magic_set *, const struct buffer *,
557 file_protected int file_ascmagic_with_encoding(struct magic_set *,
559 file_protected int file_encoding(struct magic_set *, const struct buffer *,
561 file_protected int file_is_json(struct magic_set *, const struct buffer *);
562 file_protected int file_is_csv(struct magic_set *, const struct buffer *, int,
564 file_protected int file_is_simh(struct magic_set *, const struct buffer *);
565 file_protected int file_is_tar(struct magic_set *, const struct buffer *);
566 file_protected int file_softmagic(struct magic_set *, const struct buffer *,
568 file_protected int file_apprentice(struct magic_set *, const char *, int);
569 file_protected size_t file_magic_strength(const struct magic *, size_t);
570 file_protected int buffer_apprentice(struct magic_set *, struct magic **,
572 file_protected int file_magicfind(struct magic_set *, const char *,
574 file_protected uint64_t file_signextend(struct magic_set *, struct magic *,
576 file_protected uintmax_t file_varint2uintmax_t(const unsigned char *, int,
579 file_protected void file_badread(struct magic_set *);
580 file_protected void file_badseek(struct magic_set *);
581 file_protected void file_oomem(struct magic_set *, size_t);
582 file_protected void file_error(struct magic_set *, int, const char *, ...)
584 file_protected void file_magerror(struct magic_set *, const char *, ...)
586 file_protected void file_magwarn(struct magic_set *, const char *, ...)
588 file_protected void file_mdump(struct magic *);
589 file_protected void file_showstr(FILE *, const char *, size_t);
590 file_protected size_t file_mbswidth(struct magic_set *, const char *);
591 file_protected const char *file_getbuffer(struct magic_set *);
592 file_protected ssize_t sread(int, void *, size_t, int);
593 file_protected int file_check_mem(struct magic_set *, unsigned int);
594 file_protected int file_looks_utf8(const unsigned char *, size_t,
596 file_protected size_t file_pstring_length_size(struct magic_set *,
598 file_protected size_t file_pstring_get_length(struct magic_set *,
600 file_protected char * file_printable(struct magic_set *, char *, size_t,
603 file_protected int file_os2_apptype(struct magic_set *, const char *,
606 file_protected int file_pipe_closexec(int *);
607 file_protected int file_clear_closexec(int);
608 file_protected char *file_strtrim(char *);
610 file_protected void buffer_init(struct buffer *, int, const struct stat *,
612 file_protected void buffer_fini(struct buffer *);
613 file_protected int buffer_fill(const struct buffer *);
617 file_protected int file_regcomp(struct magic_set *, file_regex_t *,
619 file_protected int file_regexec(struct magic_set *, file_regex_t *,
621 file_protected void file_regfree(file_regex_t *);
629 file_protected file_pushbuf_t *file_push_buffer(struct magic_set *);
630 file_protected char *file_pop_buffer(struct magic_set *, file_pushbuf_t *);
692 file_protected const char *file_getprogname(void);
693 file_protected void file_setprogname(const char *);
694 file_protected void file_err(int, const char *, ...)
696 file_protected void file_errx(int, const char *, ...)
698 file_protected void file_warn(const char *, ...)
700 file_protected void file_warnx(const char *, ...)