Lines Matching defs:magic_set
457 struct magic_set { struct
458 struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */
459 struct cont c;
460 struct out {
464 } o;
465 uint32_t offset; /* a copy of m->offset while we */
467 uint32_t eoffset; /* offset from end of file */
468 int error;
469 int flags; /* Control magic tests. */
470 int event_flags; /* Note things that happened. */
472 const char *file;
473 size_t line; /* current magic line number */
474 mode_t mode; /* copy of current stat mode */
477 struct {
482 } search;
486 union VALUETYPE ms_value; /* either number or string */
487 uint16_t indir_max;
488 uint16_t name_max;
489 uint16_t elf_shnum_max;
490 uint16_t elf_phnum_max;
491 uint16_t elf_notes_max;
492 uint16_t regex_max;
493 size_t bytes_max; /* number of bytes to read from file */
494 size_t encoding_max; /* bytes to look for encoding */
495 size_t elf_shsize_max;
528 file_protected struct magic_set *file_ms_alloc(int); argument