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