magic_set Struct Reference

#include <file/src/file.h>

Collaboration diagram for magic_set:

[legend]

Data Fields

mlistmlist
magic_set::cont c
magic_set::out o
uint32_t offset
int error
int flags
int haderr
const char * file
size_t line
struct {
   const char *   s
   size_t   s_len
   size_t   offset
   size_t   rm_len
search
VALUETYPE ms_value

Data Structures

struct  cont
struct  out

Detailed Description

Definition at line 264 of file file.h.


Field Documentation

struct mlist* magic_set::mlist

Definition at line 266 of file file.h.

Referenced by file_reset(), file_softmagic(), magic_close(), magic_load(), and magic_open().

struct magic_set::cont magic_set::c

Referenced by check_cond(), file_check_mem(), magic_close(), magic_open(), main(), match(), and mget().

struct magic_set::out magic_set::o

Referenced by file_error_core(), file_getbuffer(), file_printf(), file_reset(), magic_close(), magic_error(), and magic_open().

uint32_t magic_set::offset

Definition at line 288 of file file.h.

Referenced by magiccheck(), match(), mcopy(), mget(), and mprint().

int magic_set::error

Definition at line 289 of file file.h.

Referenced by file_error_core(), file_reset(), magic_errno(), and magic_open().

int magic_set::flags

Definition at line 290 of file file.h.

Referenced by apprentice_1(), apprentice_file(), check_cond(), close_and_restore(), file_apprentice(), file_ascmagic(), file_buffer(), file_fsmagic(), file_getbuffer(), file_signextend(), file_zmagic(), getvalue(), magic_file(), magic_setflags(), magiccheck(), main(), match(), mget(), and string_modifier_check().

int magic_set::haderr

Definition at line 291 of file file.h.

Referenced by file_error_core(), file_fsmagic(), file_getbuffer(), file_reset(), magic_errno(), magic_error(), and magic_open().

const char* magic_set::file

Definition at line 292 of file file.h.

Referenced by apprentice_file(), file_magwarn(), and magic_open().

size_t magic_set::line

Definition at line 293 of file file.h.

Referenced by apprentice_file(), file_magerror(), file_magwarn(), magic_open(), and match().

const char* magic_set::s

Definition at line 297 of file file.h.

Referenced by magiccheck(), mcopy(), and mprint().

size_t magic_set::s_len

Definition at line 298 of file file.h.

Referenced by magiccheck(), and mcopy().

size_t magic_set::offset

Definition at line 299 of file file.h.

size_t magic_set::rm_len

Definition at line 300 of file file.h.

Referenced by magiccheck(), mcopy(), and mprint().

struct { ... } magic_set::search

Referenced by magiccheck(), mcopy(), and mprint().

union VALUETYPE magic_set::ms_value

Definition at line 303 of file file.h.

Referenced by magiccheck(), mconvert(), mget(), and mprint().


The documentation for this struct was generated from the following file:
Generated on Fri Aug 31 10:50:55 2007 for rpm by  doxygen 1.5.1