Lines Matching defs:magic
180 struct magic { struct
191 #define TEXTTEST 0x40 /* for passing to file_softmagic */ argument
194 uint8_t factor;
197 uint8_t reln; /* relation (0=eq, '>'=gt, etc) */
198 uint8_t vallen; /* length of string value, if any */
199 uint8_t type; /* comparison type (FILE_*) */
200 uint8_t in_type; /* type of indirection */
273 uint8_t in_op; /* operator for indirection */
274 uint8_t mask_op; /* operator for mask */
276 uint8_t cond; /* conditional type */
278 uint8_t dummy;
280 uint8_t factor_op;
311 int32_t offset; /* offset to magic number */ argument
315 uint32_t lineno; /* line number in magic file */ argument
317 union {
323 } _u;
328 union VALUETYPE value; /* either number or string */
330 char desc[MAXDESC]; /* description */
332 char mimetype[MAXMIME]; /* MIME type */
334 char apple[8]; /* APPLE CREATOR/TYPE */
336 char ext[64]; /* Popular extensions */
381 struct magic *magic; /* array of magic entries */ member