#include "system.h"
#include "file.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | SZOF(a) (sizeof(a) / sizeof(a[0])) |
Functions | |
static const char * | rcsid (const char *p) |
void | file_mdump (struct magic *m) |
void | error (int status, int errnum, const char *format,...) |
void | file_magwarn (const char *f,...) |
void | file_printf (const fmagic fm, const char *f,...) |
const char * | file_fmttime (uint32_t v, int local) |
Variables | |
static struct fmagic_s | myfmagic |
fmagic | global_fmagic = &myfmagic |
|
Definition at line 43 of file print.c. Referenced by file_mdump(). |
|
Definition at line 142 of file print.c. References __progname. Referenced by file_pipe2file(), fmagicD(), fmagicProcess(), fmagicSCheck(), fmagicSConvert(), fmagicSPrint(), my_fread(), uncompressbuf(), unwrap(), and vfs_parse_ls_lga(). |
|
Definition at line 205 of file print.c. Referenced by file_mdump(), and fmagicSPrint(). |
|
Definition at line 163 of file print.c. References __progname, global_fmagic, fmagic_s::lineno, and fmagic_s::magicfile. Referenced by file_signextend(), and parse(). |
|
Definition at line 47 of file print.c. References CHAR_COMPACT_BLANK, CHAR_COMPACT_OPTIONAL_BLANK, CHAR_IGNORE_LOWERCASE, FILE_BEDATE, FILE_BELDATE, FILE_BELONG, FILE_BESHORT, FILE_BYTE, FILE_DATE, file_fmttime(), FILE_LDATE, FILE_LEDATE, FILE_LELDATE, FILE_LELONG, FILE_LESHORT, FILE_LONG, FILE_OPINVERSE, FILE_PSTRING, FILE_REGEX, FILE_SHORT, file_showstr(), FILE_STRING, INDIR, STRING_COMPACT_BLANK, STRING_COMPACT_OPTIONAL_BLANK, STRING_IGNORE_LOWERCASE, SZOF, and UNSIGNED. Referenced by fmagicSGet(), and parse(). |
|
Definition at line 184 of file print.c. References fmagic_s::nob, fmagic_s::obp, fmagic_s::obuf, and vsnprintf(). Referenced by fmagicA(), fmagicD(), fmagicF(), fmagicProcess(), fmagicSMatch(), and fmagicSPrint(). |
|
|
|
Definition at line 40 of file print.c. Referenced by file_magwarn(), main(), and rpmfcClassify(). |
|
|