ReactOS 0.4.16-dev-747-gbc52d5f
|
Go to the source code of this file.
Classes | |
struct | _INFCACHEFIELD |
struct | _INFCACHELINE |
struct | _INFCACHESECTION |
struct | _INFCACHE |
struct | parser |
Macros | |
#define | CONTROL_Z '\x1a' |
#define | MAX_SECTION_NAME_LEN 255 |
#define | MAX_FIELD_LEN 511 /* larger fields get silently truncated */ |
#define | MAX_STRING_LEN (MAX_INF_STRING_LENGTH+1) |
#define | TAG_INF_KEY 'KfnI' |
#define | TAG_INF_FIELD 'ffnI' |
#define | TAG_INF_LINE 'LfnI' |
#define | TAG_INF_SECTION 'SfnI' |
#define | TAG_INF_CACHE 'CfnI' |
#define | TAG_INF_FILE 'FfnI' |
Typedefs | |
typedef struct _INFCACHEFIELD | INFCACHEFIELD |
typedef struct _INFCACHEFIELD * | PINFCACHEFIELD |
typedef struct _INFCACHELINE | INFCACHELINE |
typedef struct _INFCACHELINE * | PINFCACHELINE |
typedef struct _INFCACHESECTION | INFCACHESECTION |
typedef struct _INFCACHESECTION * | PINFCACHESECTION |
typedef struct _INFCACHE | INFCACHE |
typedef struct _INFCACHE * | PINFCACHE |
typedef const CHAR *(* | parser_state_func) (struct parser *parser, const CHAR *pos) |
Enumerations | |
enum | parser_state { HEADER , PARSE_WIN31_LINE , LINE_START , KEY_NAME , DELETE_KEY , DEFAULT_VALUE_NAME , QUOTED_VALUE_NAME , DATA_START , DELETE_VALUE , DATA_TYPE , STRING_DATA , DWORD_DATA , HEX_DATA , EOL_BACKSLASH , HEX_MULTILINE , UNKNOWN_DATA , SET_VALUE , NB_PARSER_STATES , HEADER , PARSE_WIN31_LINE , LINE_START , KEY_NAME , DELETE_KEY , DEFAULT_VALUE_NAME , QUOTED_VALUE_NAME , DATA_START , DELETE_VALUE , DATA_TYPE , STRING_DATA , DWORD_DATA , HEX_DATA , EOL_BACKSLASH , HEX_MULTILINE , UNKNOWN_DATA , SET_VALUE , NB_PARSER_STATES , LINE_START , SECTION_NAME , KEY_NAME , VALUE_NAME , EOL_BACKSLASH , QUOTES , LEADING_SPACES , TRAILING_SPACES , COMMENT , NB_PARSER_STATES , LINE_START , SECTION_NAME , KEY_NAME , VALUE_NAME , EOL_BACKSLASH , QUOTES , LEADING_SPACES , TRAILING_SPACES , COMMENT , NB_PARSER_STATES , LINE_START , SECTION_NAME , KEY_NAME , VALUE_NAME , EOL_BACKSLASH , QUOTES , LEADING_SPACES , TRAILING_SPACES , COMMENT , NB_PARSER_STATES } |
Variables | |
static const parser_state_func | parser_funcs [NB_PARSER_STATES] |
#define MAX_STRING_LEN (MAX_INF_STRING_LENGTH+1) |
typedef struct _INFCACHEFIELD INFCACHEFIELD |
typedef struct _INFCACHELINE INFCACHELINE |
typedef struct _INFCACHESECTION INFCACHESECTION |
typedef struct _INFCACHEFIELD * PINFCACHEFIELD |
typedef struct _INFCACHELINE * PINFCACHELINE |
typedef struct _INFCACHESECTION * PINFCACHESECTION |
Definition at line 71 of file inffile.c.
Definition at line 490 of file inffile.c.
Referenced by key_name_state(), and value_name_state().
Definition at line 458 of file inffile.c.
Referenced by section_name_state().
Definition at line 733 of file inffile.c.
Definition at line 1028 of file inffile.c.
BOOLEAN InfFindFirstLine | ( | HINF | InfHandle, |
PCSTR | Section, | ||
PCSTR | Key, | ||
PINFCONTEXT | Context | ||
) |
Definition at line 1050 of file inffile.c.
Referenced by LoadReactOSSetup(), SetupFindFirstLineW(), SetupLdrInitErrataInf(), SetupLdrLoadNlsData(), and SetupLdrScanBootDrivers().
BOOLEAN InfFindFirstMatchLine | ( | PINFCONTEXT | ContextIn, |
PCSTR | Key, | ||
PINFCONTEXT | ContextOut | ||
) |
Definition at line 1135 of file inffile.c.
BOOLEAN InfFindNextLine | ( | PINFCONTEXT | ContextIn, |
PINFCONTEXT | ContextOut | ||
) |
Definition at line 1107 of file inffile.c.
BOOLEAN InfFindNextMatchLine | ( | PINFCONTEXT | ContextIn, |
PCSTR | Key, | ||
PINFCONTEXT | ContextOut | ||
) |
Definition at line 1172 of file inffile.c.
BOOLEAN InfGetBinaryField | ( | PINFCONTEXT | Context, |
ULONG | FieldIndex, | ||
PUCHAR | ReturnBuffer, | ||
ULONG | ReturnBufferSize, | ||
PULONG | RequiredSize | ||
) |
Definition at line 1260 of file inffile.c.
BOOLEAN InfGetData | ( | PINFCONTEXT | Context, |
PCSTR * | Key, | ||
PCSTR * | Data | ||
) |
Definition at line 1491 of file inffile.c.
Referenced by SetupLdrLoadNlsData().
BOOLEAN InfGetDataField | ( | PINFCONTEXT | Context, |
ULONG | FieldIndex, | ||
PCSTR * | Data | ||
) |
Definition at line 1515 of file inffile.c.
LONG InfGetFieldCount | ( | PINFCONTEXT | Context | ) |
BOOLEAN InfGetIntField | ( | PINFCONTEXT | Context, |
ULONG | FieldIndex, | ||
PLONG | IntegerValue | ||
) |
Definition at line 1317 of file inffile.c.
Definition at line 1209 of file inffile.c.
BOOLEAN InfGetMultiSzField | ( | PINFCONTEXT | Context, |
ULONG | FieldIndex, | ||
PCHAR | ReturnBuffer, | ||
ULONG | ReturnBufferSize, | ||
PULONG | RequiredSize | ||
) |
Definition at line 1361 of file inffile.c.
BOOLEAN InfGetStringField | ( | PINFCONTEXT | Context, |
ULONG | FieldIndex, | ||
PCHAR | ReturnBuffer, | ||
ULONG | ReturnBufferSize, | ||
PULONG | RequiredSize | ||
) |
Definition at line 1431 of file inffile.c.
Definition at line 918 of file inffile.c.
Referenced by LoadReactOSSetup(), and SetupOpenInfFileExW().
|
static |
Definition at line 331 of file inffile.c.
Referenced by add_field_from_token(), and InfpAddField().
|
static |
Definition at line 309 of file inffile.c.
Referenced by add_field_from_token(), and InfpAddLineWithKey().
|
static |
Definition at line 271 of file inffile.c.
Referenced by add_field_from_token().
|
static |
Definition at line 226 of file inffile.c.
Referenced by add_section_from_token().
|
static |
Definition at line 368 of file inffile.c.
Referenced by InfFindFirstLine().
|
static |
Definition at line 196 of file inffile.c.
Referenced by add_section_from_token(), and InfpParseBuffer().
|
static |
Definition at line 135 of file inffile.c.
Referenced by InfpCacheFreeSection().
|
static |
Definition at line 170 of file inffile.c.
Referenced by InfCloseFile().
|
static |
Definition at line 878 of file inffile.c.
Referenced by InfHostOpenBufferedFile(), InfHostOpenFile(), InfOpenBufferedFile(), and InfOpenFile().
Definition at line 415 of file inffile.c.
Referenced by eol_backslash_state(), and line_start_state().
Definition at line 422 of file inffile.c.
Referenced by comment_state(), key_name_state(), leading_spaces_state(), ME_FindPixelPos(), quotes_state(), section_name_state(), trailing_spaces_state(), and value_name_state().
Definition at line 618 of file inffile.c.
Definition at line 398 of file inffile.c.
Referenced by comment_state(), eol_backslash_state(), leading_spaces_state(), quotes_state(), and trailing_spaces_state().
Definition at line 390 of file inffile.c.
Referenced by eol_backslash_state(), key_name_state(), line_start_state(), section_name_state(), and value_name_state().
Definition at line 434 of file inffile.c.
Referenced by eol_backslash_state(), key_name_state(), quotes_state(), section_name_state(), and value_name_state().
Definition at line 592 of file inffile.c.
|
static |
Definition at line 406 of file inffile.c.
Referenced by eol_backslash_state(), key_name_state(), leading_spaces_state(), line_start_state(), section_name_state(), trailing_spaces_state(), and value_name_state().
|
static |
Definition at line 117 of file inffile.c.
Referenced by InfpParseBuffer().