libini_config  0.4.0
 All Functions Enumerations Enumerator Groups Pages
Enumerations
Parsing errors and warnings

Enumerations

enum  ERR_PARSE {
  ERR_LONGDATA = 1, ERR_NOCLOSESEC, ERR_NOSECTION, ERR_SECTIONLONG,
  ERR_NOEQUAL, ERR_NOKEY, ERR_LONGKEY, ERR_READ,
  ERR_SPACE, ERR_DUPKEY, ERR_DUPKEYSEC, ERR_DUPSECTION,
  ERR_SPECIAL, ERR_TAB, ERR_BADCOMMENT, ERR_MAXPARSE = ERR_BADCOMMENT
}
 

Detailed Description

Parsing errors and warnings

Enumeration Type Documentation

enum ERR_PARSE

Enumeration of parsing errors.

Enumerator
ERR_LONGDATA 

Line is too long (Error).

ERR_NOCLOSESEC 

No closing bracket in section definition (Error).

ERR_NOSECTION 

Section name is missing (Error).

ERR_SECTIONLONG 

Section name too long (Error).

ERR_NOEQUAL 

No equal sign (Error).

ERR_NOKEY 

No key before equal sign (Error).

ERR_LONGKEY 

Key is too long (Error).

ERR_READ 

Failed to read line (Error).

ERR_SPACE 

Line starts with space when it should not (Error).

ERR_DUPKEY 

Duplicate key is not allowed (Error).

ERR_DUPKEYSEC 

Duplicate key is detected while merging sections (Error).

ERR_DUPSECTION 

Duplicate section is not allowed (Error).

ERR_SPECIAL 

Line contains invalid characters (Error).

ERR_TAB 

Line starts with tab when it should not (Error).

ERR_BADCOMMENT 

End of file while processing comment (Error).

ERR_MAXPARSE 

Special value. Size of the error array.