Lines Matching defs:magic
177 struct magic { struct
188 #define TEXTTEST 0x40 /* for passing to file_softmagic */ argument
190 uint8_t factor;
193 uint8_t reln; /* relation (0=eq, '>'=gt, etc) */
194 uint8_t vallen; /* length of string value, if any */
195 uint8_t type; /* comparison type (FILE_*) */
196 uint8_t in_type; /* type of indirection */
267 uint8_t in_op; /* operator for indirection */
268 uint8_t mask_op; /* operator for mask */
270 uint8_t cond; /* conditional type */
272 uint8_t dummy;
274 uint8_t factor_op;
305 int32_t offset; /* offset to magic number */ argument
309 uint32_t lineno; /* line number in magic file */ argument
311 union {
317 } _u;
322 union VALUETYPE value; /* either number or string */
324 char desc[MAXDESC]; /* description */
326 char mimetype[MAXMIME]; /* MIME type */
328 char apple[8]; /* APPLE CREATOR/TYPE */
330 char ext[64]; /* Popular extensions */
375 struct magic *magic; /* array of magic entries */ member