45 #include <sys/types.h>
55 int file_buffer(
struct rz_magic_set *,
int,
const char *,
const void *,
size_t);
60 int file_tryelf(
struct rz_magic_set *,
int,
const unsigned char *,
size_t);
61 int file_zmagic(
struct rz_magic_set *,
int,
const char *,
const ut8 *,
size_t);
62 int file_ascmagic(
struct rz_magic_set *,
const unsigned char *,
size_t);
63 int file_is_tar(
struct rz_magic_set *,
const unsigned char *,
size_t);
64 int file_softmagic(
struct rz_magic_set *,
const unsigned char *,
size_t,
int);
71 void file_error(
struct rz_magic_set *,
int,
const char *, ...);
73 void file_magwarn(
struct rz_magic_set *,
const char *, ...);
82 #ifndef HAVE_VASPRINTF
83 int vasprintf(
char **ptr,
const char *format_string, va_list vargs);
86 int asprintf(
char **ptr,
const char *format_string, ...);
RzList * entries(RzBinFile *bf)
void file_showstr(FILE *, const char *, size_t)
ut64 file_signextend(RzMagic *, struct rz_magic *, ut64)
int file_reset(struct rz_magic_set *)
void file_badread(struct rz_magic_set *)
const char * file_getbuffer(struct rz_magic_set *)
struct mlist * file_apprentice(struct rz_magic_set *, const char *, int)
int file_ascmagic(struct rz_magic_set *, const unsigned char *, size_t)
size_t file_mbswidth(const char *)
int file_pipe2file(struct rz_magic_set *, int, const void *, size_t)
void file_oomem(struct rz_magic_set *, size_t)
void file_error(struct rz_magic_set *, int, const char *,...)
int vasprintf(char **ptr, const char *format_string, va_list vargs)
int file_buffer(struct rz_magic_set *, int, const char *, const void *, size_t)
int file_tryelf(struct rz_magic_set *, int, const unsigned char *, size_t)
int file_fsmagic(struct rz_magic_set *, const char *, struct stat *)
void file_delmagic(struct rz_magic *, int type, size_t entries)
void file_magerror(struct rz_magic_set *, const char *,...)
void file_mdump(struct rz_magic *)
void file_badseek(struct rz_magic_set *)
int asprintf(char **ptr, const char *format_string,...)
int file_printf(struct rz_magic_set *, const char *,...)
int file_looks_utf8(const unsigned char *, size_t, unichar *, size_t *)
ssize_t sread(int, void *, size_t, int)
void file_magwarn(struct rz_magic_set *, const char *,...)
int file_is_tar(struct rz_magic_set *, const unsigned char *, size_t)
int file_zmagic(struct rz_magic_set *, int, const char *, const ut8 *, size_t)
int file_check_mem(struct rz_magic_set *, unsigned int)
const char * file_fmttime(unsigned int, int, char *)
int file_softmagic(struct rz_magic_set *, const unsigned char *, size_t, int)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()