#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 | |
const char * | rcsid (const char *p) |
void | mdump (struct magic *m) |
void | error (int status, int errnum, const char *format,...) |
void | magwarn (const char *f,...) |
void | fmagicPrintf (const fmagic fm, const char *f,...) |
char * | fmttime (long v, int local) |
Variables | |
fmagic_s | myfmagic |
fmagic | global_fmagic = &myfmagic |
|
Definition at line 43 of file print.c. Referenced by mdump(). |
|
Definition at line 140 of file print.c. References __progname. Referenced by cvtdberr(), fmagicD(), fmagicProcess(), fmagicSCheck(), fmagicSConvert(), fmagicSPrint(), my_fread(), pipe2file(), poptStrerror(), uncompressbuf(), unwrap(), and vfs_parse_ls_lga(). |
|
Definition at line 182 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 203 of file print.c. Referenced by mdump(). |
|
Definition at line 161 of file print.c. References __progname, global_fmagic, fmagic_s::lineno, and fmagic_s::magicfile. Referenced by parse(), and signextend(). |
|
Definition at line 47 of file print.c. References BEDATE, BELDATE, BELONG, BESHORT, BYTE, CHAR_COMPACT_BLANK, CHAR_COMPACT_OPTIONAL_BLANK, CHAR_IGNORE_LOWERCASE, magic::cont_level, DATE, magic::desc, magic::flag, fmttime(), magic::in_offset, magic::in_op, magic::in_type, INDIR, magic::VALUETYPE::l, LDATE, LEDATE, LELDATE, LELONG, LESHORT, LONG, magic::mask, magic::mask_op, magic::offset, OPINVERSE, PSTRING, REGEX, magic::reln, magic::VALUETYPE::s, SHORT, showstr(), STRING, STRING_COMPACT_BLANK, STRING_COMPACT_OPTIONAL_BLANK, STRING_IGNORE_LOWERCASE, SZOF, magic::type, UNSIGNED, and magic::value. Referenced by fmagicSGet(), and parse(). |
|
|
|
Definition at line 40 of file print.c. Referenced by magwarn(). |
|
|