Lines Matching refs:protected

90 #ifndef protected
91 #define protected __attribute__ ((__visibility__("hidden")))
95 #ifndef protected
96 #define protected
427 protected const char *file_fmttime(uint64_t, int, char *);
428 protected struct magic_set *file_ms_alloc(int);
429 protected void file_ms_free(struct magic_set *);
430 protected int file_buffer(struct magic_set *, int, const char *, const void *,
432 protected int file_fsmagic(struct magic_set *, const char *, struct stat *);
433 protected int file_pipe2file(struct magic_set *, int, const void *, size_t);
434 protected int file_vprintf(struct magic_set *, const char *, va_list)
436 protected size_t file_printedlen(const struct magic_set *);
437 protected int file_replace(struct magic_set *, const char *, const char *);
438 protected int file_printf(struct magic_set *, const char *, ...)
440 protected int file_reset(struct magic_set *);
441 protected int file_tryelf(struct magic_set *, int, const unsigned char *,
443 protected int file_trycdf(struct magic_set *, int, const unsigned char *,
446 protected int file_zmagic(struct magic_set *, int, const char *,
449 protected int file_ascmagic(struct magic_set *, const unsigned char *, size_t,
451 protected int file_ascmagic_with_encoding(struct magic_set *,
454 protected int file_encoding(struct magic_set *, const unsigned char *, size_t,
456 protected int file_is_tar(struct magic_set *, const unsigned char *, size_t);
457 protected int file_softmagic(struct magic_set *, const unsigned char *, size_t,
459 protected int file_apprentice(struct magic_set *, const char *, int);
460 protected int buffer_apprentice(struct magic_set *, struct magic **,
462 protected int file_magicfind(struct magic_set *, const char *, struct mlist *);
463 protected uint64_t file_signextend(struct magic_set *, struct magic *,
465 protected void file_badread(struct magic_set *);
466 protected void file_badseek(struct magic_set *);
467 protected void file_oomem(struct magic_set *, size_t);
468 protected void file_error(struct magic_set *, int, const char *, ...)
470 protected void file_magerror(struct magic_set *, const char *, ...)
472 protected void file_magwarn(struct magic_set *, const char *, ...)
474 protected void file_mdump(struct magic *);
475 protected void file_showstr(FILE *, const char *, size_t);
476 protected size_t file_mbswidth(const char *);
477 protected const char *file_getbuffer(struct magic_set *);
478 protected ssize_t sread(int, void *, size_t, int);
479 protected int file_check_mem(struct magic_set *, unsigned int);
480 protected int file_looks_utf8(const unsigned char *, size_t, unichar *,
482 protected size_t file_pstring_length_size(const struct magic *);
483 protected size_t file_pstring_get_length(const struct magic *, const char *);
484 protected char * file_printable(char *, size_t, const char *);
486 protected int file_os2_apptype(struct magic_set *, const char *, const void *,
508 protected int file_regcomp(file_regex_t *, const char *, int);
509 protected int file_regexec(file_regex_t *, const char *, size_t, regmatch_t *,
511 protected void file_regfree(file_regex_t *);
512 protected void file_regerror(file_regex_t *, int, struct magic_set *);
519 protected file_pushbuf_t *file_push_buffer(struct magic_set *);
520 protected char *file_pop_buffer(struct magic_set *, file_pushbuf_t *);