54 const struct section *psection,
const char *file,
55 const char *
function,
int line,
const char *format, ...)
58 #define SECFILE_LOG(secfile, psection, format, ...) \
59 secfile_log(secfile, psection, __FILE__, __FUNCTION__, __LINE__, format, \
61 #define SECFILE_RETURN_IF_FAIL(secfile, psection, condition) \
63 SECFILE_LOG(secfile, psection, "Assertion '%s' failed.", #condition); \
66 #define SECFILE_RETURN_VAL_IF_FAIL(secfile, psection, condition, value) \
68 SECFILE_LOG(secfile, psection, "Assertion '%s' failed.", #condition); \
bool entry_from_token(struct section *psection, const QString &name, const QString &tok)
Add entry to section from token.
void secfile_log(const struct section_file *secfile, const struct section *psection, const char *file, const char *function, int line, const char *format,...) fc__attribute((__format__(__printf__
struct section_file::@7 hash
QMultiHash< QString, struct entry * > * entries
struct section_list * sections
bool allow_digital_boolean
unsigned int num_includes
unsigned int num_long_comments
QMultiHash< QString, struct section * > * sections
struct entry_list * entries
enum entry_special_type special
struct section_file * secfile
int fc__attribute((nonnull(1, 3)))