Lines Matching defs:magic
187 struct magic { struct
198 #define TEXTTEST 0x40 /* for passing to file_softmagic */ argument
201 uint8_t factor;
204 uint8_t reln; /* relation (0=eq, '>'=gt, etc) */
205 uint8_t vallen; /* length of string value, if any */
206 uint8_t type; /* comparison type (FILE_*) */
207 uint8_t in_type; /* type of indirection */
280 uint8_t in_op; /* operator for indirection */
281 uint8_t mask_op; /* operator for mask */
283 uint8_t cond; /* conditional type */
285 uint8_t dummy;
287 uint8_t factor_op;
318 int32_t offset; /* offset to magic number */ argument
322 uint32_t lineno; /* line number in magic file */ argument
324 union {
330 } _u;
335 union VALUETYPE value; /* either number or string */
337 char desc[MAXDESC]; /* description */
339 char mimetype[MAXMIME]; /* MIME type */
341 char apple[8]; /* APPLE CREATOR/TYPE */
343 char ext[64]; /* Popular extensions */
388 struct magic *magic; /* array of magic entries */ member