Lines Matching defs:magic
211 struct magic { struct
222 #define TEXTTEST 0x40 /* for passing to file_softmagic */ argument
225 uint8_t factor;
228 uint8_t reln; /* relation (0=eq, '>'=gt, etc) */
229 uint8_t vallen; /* length of string value, if any */
230 uint8_t type; /* comparison type (FILE_*) */
231 uint8_t in_type; /* type of indirection */
314 uint8_t in_op; /* operator for indirection */
315 uint8_t mask_op; /* operator for mask */
317 uint8_t cond; /* conditional type */
319 uint8_t dummy;
321 uint8_t factor_op;
352 int32_t offset; /* offset to magic number */ argument
356 uint32_t lineno; /* line number in magic file */ argument
358 union {
364 } _u;
369 union VALUETYPE value; /* either number or string */
371 char desc[MAXDESC]; /* description */
373 char mimetype[MAXMIME]; /* MIME type */
375 char apple[8]; /* APPLE CREATOR/TYPE */
377 char ext[64]; /* Popular extensions */
424 struct magic *magic; /* array of magic entries */ member