golcconfig 9.0
Loading...
Searching...
No Matches
Functions
LcConfigC_Lookup_C_API

locates the setting in the configuration and return the data or an LcSettingCMore...

+ Collaboration diagram for LcConfigC_Lookup_C_API:

Functions

LC_EXTERN LC_CFS LcConfigLookupP (LC_CFGN config, MK_STRN path)
 Non-inline replacement for LcConfigLookup
 
LC_EXTERN enum MkErrorE LcConfigLookupBoolP (LC_CFGN config, MK_STRN path, MK_BOOL *value_out)
 Non-inline replacement for LcConfigLookupBool
 
LC_EXTERN enum MkErrorE LcConfigLookupFloatP (LC_CFGN config, MK_STRN path, MK_DBL *value_out)
 Non-inline replacement for LcConfigLookupFloat
 
LC_EXTERN enum MkErrorE LcConfigLookupIntP (LC_CFGN config, MK_STRN path, MK_INT *value_out)
 Non-inline replacement for LcConfigLookupInt
 
LC_EXTERN enum MkErrorE LcConfigLookupInt64P (LC_CFGN config, MK_STRN path, MK_WID *value_out)
 Non-inline replacement for LcConfigLookupInt64
 
LC_EXTERN enum MkErrorE LcConfigLookupStringP (LC_CFGN config, MK_STRN path, MK_STRN *value_out)
 Non-inline replacement for LcConfigLookupString
 
LC_CFS LcConfigLookup (LC_CFGN config, MK_STRN path)
 This function locates the setting in the configuration config specified by the path path
 
enum MkErrorE LcConfigLookupBool (LC_CFGN config, MK_STRN path, MK_BOOL *value_out)
 These functions look up the value of the setting in the configuration config specified by the path path
 
enum MkErrorE LcConfigLookupFloat (LC_CFGN config, MK_STRN path, MK_DBL *value_out)
 These functions look up the value of the setting in the configuration config specified by the path path
 
enum MkErrorE LcConfigLookupInt (LC_CFGN config, MK_STRN path, MK_INT *value_out)
 These functions look up the value of the setting in the configuration config specified by the path path
 
enum MkErrorE LcConfigLookupInt64 (LC_CFGN config, MK_STRN path, MK_WID *value_out)
 These functions look up the value of the setting in the configuration config specified by the path path
 
enum MkErrorE LcConfigLookupString (LC_CFGN config, MK_STRN path, MK_STRN *value_out)
 These functions look up the value of the setting in the configuration config specified by the path path
 

Overload

#define LcConfigLookupBool_E(...)   MkErrorCheck(LcConfigLookupBool(__VA_ARGS__))
 
#define LcConfigLookupBool_C(...)   if (MkErrorCheckI(LcConfigLookupBool(__VA_ARGS__)))
 
#define LcConfigLookupBool_e(...)   MK_EMBEDDED(MK_BOOL,LcConfigLookupBool,__VA_ARGS__)
 
#define LcConfigLookupFloat_E(...)   MkErrorCheck(LcConfigLookupFloat(__VA_ARGS__))
 
#define LcConfigLookupFloat_C(...)   if (MkErrorCheckI(LcConfigLookupFloat(__VA_ARGS__)))
 
#define LcConfigLookupFloat_e(...)   MK_EMBEDDED(MK_DBL,LcConfigLookupFloat,__VA_ARGS__)
 
#define LcConfigLookupInt_E(...)   MkErrorCheck(LcConfigLookupInt(__VA_ARGS__))
 
#define LcConfigLookupInt_C(...)   if (MkErrorCheckI(LcConfigLookupInt(__VA_ARGS__)))
 
#define LcConfigLookupInt_e(...)   MK_EMBEDDED(MK_INT,LcConfigLookupInt,__VA_ARGS__)
 
#define LcConfigLookupInt64_E(...)   MkErrorCheck(LcConfigLookupInt64(__VA_ARGS__))
 
#define LcConfigLookupInt64_C(...)   if (MkErrorCheckI(LcConfigLookupInt64(__VA_ARGS__)))
 
#define LcConfigLookupInt64_e(...)   MK_EMBEDDED(MK_WID,LcConfigLookupInt64,__VA_ARGS__)
 
#define LcConfigLookupString_E(...)   MkErrorCheck(LcConfigLookupString(__VA_ARGS__))
 
#define LcConfigLookupString_C(...)   if (MkErrorCheckI(LcConfigLookupString(__VA_ARGS__)))
 
#define LcConfigLookupString_e(...)   MK_EMBEDDED(MK_STRN,LcConfigLookupString,__VA_ARGS__)
 
#define LcConfigLog(...)   LcConfigLog_RT(MK_RT_CALL __VA_ARGS__)
 
#define LcConfigLog_4(cfg, fmtobj, debug, callfunc)   LcConfigLog(cfg,fmtobj,debug,callfunc,0)
 
#define LcConfigLog_3(cfg, fmtobj, debug)   LcConfigLog(cfg,fmtobj,debug,__func__,0)
 
#define LcConfigLog_2(cfg, fmtobj)   LcConfigLog(cfg,fmtobj,0,__func__,0)
 
#define LcConfigLog_1(cfg)   LcConfigLog(cfg,NULL,0,__func__,0)
 
#define LcConfigRead_E(...)   MkErrorCheck(LcConfigRead(__VA_ARGS__))
 
#define LcConfigRead_C(...)   if (MkErrorCheckI(LcConfigRead(__VA_ARGS__)))
 
#define LcConfigReadFile_E(...)   MkErrorCheck(LcConfigReadFile(__VA_ARGS__))
 
#define LcConfigReadFile_C(...)   if (MkErrorCheckI(LcConfigReadFile(__VA_ARGS__)))
 
#define LcConfigReadString_E(...)   MkErrorCheck(LcConfigReadString(__VA_ARGS__))
 
#define LcConfigReadString_C(...)   if (MkErrorCheckI(LcConfigReadString(__VA_ARGS__)))
 
#define LcConfigWrite_E(...)   MkErrorCheck(LcConfigWrite(__VA_ARGS__))
 
#define LcConfigWrite_C(...)   if (MkErrorCheckI(LcConfigWrite(__VA_ARGS__)))
 
#define LcConfigWriteFile_E(...)   MkErrorCheck(LcConfigWriteFile(__VA_ARGS__))
 
#define LcConfigWriteFile_C(...)   if (MkErrorCheckI(LcConfigWriteFile(__VA_ARGS__)))
 
#define LcConfigWriteString(...)   LcConfigWriteString_RT(MK_RT_CALL __VA_ARGS__)
 
#define LcConfigWriteString_E(...)   MkErrorCheck(LcConfigWriteString(__VA_ARGS__))
 
#define LcConfigWriteString_C(...)   if (MkErrorCheckI(LcConfigWriteString(__VA_ARGS__)))
 
#define LcConfigWriteString_e(...)   MK_EMBEDDED(MK_STRN,LcConfigWriteString,__VA_ARGS__)
 
#define LcConfigSetIncludeFunc(...)   LcConfigSetIncludeFunc_RT(MK_RT_CALL __VA_ARGS__)
 
#define LcConfigSetIncludeFunc_E(...)   MkErrorCheck(LcConfigSetIncludeFunc(__VA_ARGS__))
 
#define LcConfigSetIncludeFunc_C(...)   if (MkErrorCheckI(LcConfigSetIncludeFunc(__VA_ARGS__)))
 
#define LcConfigSetSettingDeleteFunc(...)   LcConfigSetSettingDeleteFunc_RT(MK_RT_CALL __VA_ARGS__)
 
#define LcConfigSetSettingDeleteFunc_E(...)   MkErrorCheck(LcConfigSetSettingDeleteFunc(__VA_ARGS__))
 
#define LcConfigSetSettingDeleteFunc_C(...)   if (MkErrorCheckI(LcConfigSetSettingDeleteFunc(__VA_ARGS__)))
 
#define LcConfigCreate_0()   LcConfigCreate(NULL,NULL)
 
#define LcConfigDelete(x)   MkObjectDeleteToNull(LcConfigDelete_RT,x)
 
#define LcSettingLookupBool_E(...)   MkErrorCheck(LcSettingLookupBool(__VA_ARGS__))
 
#define LcSettingLookupBool_C(...)   if (MkErrorCheckI(LcSettingLookupBool(__VA_ARGS__)))
 
#define LcSettingLookupBool_e(...)   MK_EMBEDDED(MK_BOOL,LcSettingLookupBool,__VA_ARGS__)
 
#define LcSettingLookupFloat_E(...)   MkErrorCheck(LcSettingLookupFloat(__VA_ARGS__))
 
#define LcSettingLookupFloat_C(...)   if (MkErrorCheckI(LcSettingLookupFloat(__VA_ARGS__)))
 
#define LcSettingLookupFloat_e(...)   MK_EMBEDDED(MK_DBL,LcSettingLookupFloat,__VA_ARGS__)
 
#define LcSettingLookupInt_E(...)   MkErrorCheck(LcSettingLookupInt(__VA_ARGS__))
 
#define LcSettingLookupInt_C(...)   if (MkErrorCheckI(LcSettingLookupInt(__VA_ARGS__)))
 
#define LcSettingLookupInt_e(...)   MK_EMBEDDED(MK_INT,LcSettingLookupInt,__VA_ARGS__)
 
#define LcSettingLookupInt64_E(...)   MkErrorCheck(LcSettingLookupInt64(__VA_ARGS__))
 
#define LcSettingLookupInt64_C(...)   if (MkErrorCheckI(LcSettingLookupInt64(__VA_ARGS__)))
 
#define LcSettingLookupInt64_e(...)   MK_EMBEDDED(MK_WID,LcSettingLookupInt64,__VA_ARGS__)
 
#define LcSettingLookupString_E(...)   MkErrorCheck(LcSettingLookupString(__VA_ARGS__))
 
#define LcSettingLookupString_C(...)   if (MkErrorCheckI(LcSettingLookupString(__VA_ARGS__)))
 
#define LcSettingLookupString_e(...)   MK_EMBEDDED(MK_STRN,LcSettingLookupString,__VA_ARGS__)
 
#define LcSettingLog(...)   LcSettingLog_RT(MK_RT_CALL __VA_ARGS__)
 
#define LcSettingLog_4(setting, fmtobj, debug, callfunc)   LcSettingLog(setting,fmtobj,debug,callfunc,0)
 
#define LcSettingLog_3(setting, fmtobj, debug)   LcSettingLog(setting,fmtobj,debug,__func__,0)
 
#define LcSettingLog_2(setting, fmtobj)   LcSettingLog(setting,fmtobj,0,__func__,0)
 
#define LcSettingLog_1(setting)   LcSettingLog(setting,NULL,0,__func__,0)
 
#define LcSettingRemove_E(...)   MkErrorCheck(LcSettingRemove(__VA_ARGS__))
 
#define LcSettingRemove_C(...)   if (MkErrorCheckI(LcSettingRemove(__VA_ARGS__)))
 
#define LcSettingRemoveElem_E(...)   MkErrorCheck(LcSettingRemoveElem(__VA_ARGS__))
 
#define LcSettingRemoveElem_C(...)   if (MkErrorCheckI(LcSettingRemoveElem(__VA_ARGS__)))
 
#define LcSettingSetBool_E(...)   MkErrorCheck(LcSettingSetBool(__VA_ARGS__))
 
#define LcSettingSetBool_C(...)   if (MkErrorCheckI(LcSettingSetBool(__VA_ARGS__)))
 
#define LcSettingSetFloat_E(...)   MkErrorCheck(LcSettingSetFloat(__VA_ARGS__))
 
#define LcSettingSetFloat_C(...)   if (MkErrorCheckI(LcSettingSetFloat(__VA_ARGS__)))
 
#define LcSettingSetFormat_E(...)   MkErrorCheck(LcSettingSetFormat(__VA_ARGS__))
 
#define LcSettingSetFormat_C(...)   if (MkErrorCheckI(LcSettingSetFormat(__VA_ARGS__)))
 
#define LcSettingSetInt_E(...)   MkErrorCheck(LcSettingSetInt(__VA_ARGS__))
 
#define LcSettingSetInt_C(...)   if (MkErrorCheckI(LcSettingSetInt(__VA_ARGS__)))
 
#define LcSettingSetInt64_E(...)   MkErrorCheck(LcSettingSetInt64(__VA_ARGS__))
 
#define LcSettingSetInt64_C(...)   if (MkErrorCheckI(LcSettingSetInt64(__VA_ARGS__)))
 
#define LcSettingSetString_E(...)   MkErrorCheck(LcSettingSetString(__VA_ARGS__))
 
#define LcSettingSetString_C(...)   if (MkErrorCheckI(LcSettingSetString(__VA_ARGS__)))
 
#define LcConfigFormatE_FromInt_E(...)   MkErrorCheck(LcConfigFormatE_FromInt(__VA_ARGS__))
 
#define LcConfigFormatE_FromInt_C(...)   if (MkErrorCheckI(LcConfigFormatE_FromInt(__VA_ARGS__)))
 
#define LcConfigFormatE_FromInt_e(...)   MK_EMBEDDED(enum LcConfigFormatE,LcConfigFormatE_FromInt,__VA_ARGS__)
 
#define LcConfigOptionsEF_FromInt_E(...)   MkErrorCheck(LcConfigOptionsEF_FromInt(__VA_ARGS__))
 
#define LcConfigOptionsEF_FromInt_C(...)   if (MkErrorCheckI(LcConfigOptionsEF_FromInt(__VA_ARGS__)))
 
#define LcConfigOptionsEF_FromInt_e(...)   MK_EMBEDDED(enum LcConfigOptionsEF,LcConfigOptionsEF_FromInt,__VA_ARGS__)
 
#define LcConfigTypeE_FromInt_E(...)   MkErrorCheck(LcConfigTypeE_FromInt(__VA_ARGS__))
 
#define LcConfigTypeE_FromInt_C(...)   if (MkErrorCheckI(LcConfigTypeE_FromInt(__VA_ARGS__)))
 
#define LcConfigTypeE_FromInt_e(...)   MK_EMBEDDED(enum LcConfigTypeE,LcConfigTypeE_FromInt,__VA_ARGS__)
 
#define LcErrorE_FromInt_E(...)   MkErrorCheck(LcErrorE_FromInt(__VA_ARGS__))
 
#define LcErrorE_FromInt_C(...)   if (MkErrorCheckI(LcErrorE_FromInt(__VA_ARGS__)))
 
#define LcErrorE_FromInt_e(...)   MK_EMBEDDED(enum LcErrorE,LcErrorE_FromInt,__VA_ARGS__)
 
#define LcErrorTypeE_FromInt_E(...)   MkErrorCheck(LcErrorTypeE_FromInt(__VA_ARGS__))
 
#define LcErrorTypeE_FromInt_C(...)   if (MkErrorCheckI(LcErrorTypeE_FromInt(__VA_ARGS__)))
 
#define LcErrorTypeE_FromInt_e(...)   MK_EMBEDDED(enum LcErrorTypeE,LcErrorTypeE_FromInt,__VA_ARGS__)
 

Detailed Description

locates the setting in the configuration and return the data or an LcSettingC

This function locates the setting in the configuration config specified by the path path. It returns a pointer to the LcSettingC structure on success, or NULL if the setting was not found.

Macro Definition Documentation

◆ LcConfigCreate_0

#define LcConfigCreate_0 ( )    LcConfigCreate(NULL,NULL)

Definition at line 93 of file config_overload_lc.h.

◆ LcConfigDelete

#define LcConfigDelete (   x)    MkObjectDeleteToNull(LcConfigDelete_RT,x)

Definition at line 97 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_C

#define LcConfigFormatE_FromInt_C (   ...)    if (MkErrorCheckI(LcConfigFormatE_FromInt(__VA_ARGS__)))

Definition at line 181 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_E

#define LcConfigFormatE_FromInt_E (   ...)    MkErrorCheck(LcConfigFormatE_FromInt(__VA_ARGS__))

Definition at line 180 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_e

#define LcConfigFormatE_FromInt_e (   ...)    MK_EMBEDDED(enum LcConfigFormatE,LcConfigFormatE_FromInt,__VA_ARGS__)

Definition at line 182 of file config_overload_lc.h.

◆ LcConfigLog

#define LcConfigLog (   ...)    LcConfigLog_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 45 of file config_overload_lc.h.

◆ LcConfigLog_1

#define LcConfigLog_1 (   cfg)    LcConfigLog(cfg,NULL,0,__func__,0)

Definition at line 49 of file config_overload_lc.h.

◆ LcConfigLog_2

#define LcConfigLog_2 (   cfg,
  fmtobj 
)    LcConfigLog(cfg,fmtobj,0,__func__,0)

Definition at line 48 of file config_overload_lc.h.

◆ LcConfigLog_3

#define LcConfigLog_3 (   cfg,
  fmtobj,
  debug 
)    LcConfigLog(cfg,fmtobj,debug,__func__,0)

Definition at line 47 of file config_overload_lc.h.

◆ LcConfigLog_4

#define LcConfigLog_4 (   cfg,
  fmtobj,
  debug,
  callfunc 
)    LcConfigLog(cfg,fmtobj,debug,callfunc,0)

Definition at line 46 of file config_overload_lc.h.

◆ LcConfigLookupBool_C

#define LcConfigLookupBool_C (   ...)    if (MkErrorCheckI(LcConfigLookupBool(__VA_ARGS__)))

Definition at line 21 of file config_overload_lc.h.

◆ LcConfigLookupBool_E

#define LcConfigLookupBool_E (   ...)    MkErrorCheck(LcConfigLookupBool(__VA_ARGS__))

Definition at line 20 of file config_overload_lc.h.

◆ LcConfigLookupBool_e

#define LcConfigLookupBool_e (   ...)    MK_EMBEDDED(MK_BOOL,LcConfigLookupBool,__VA_ARGS__)

Definition at line 22 of file config_overload_lc.h.

◆ LcConfigLookupFloat_C

#define LcConfigLookupFloat_C (   ...)    if (MkErrorCheckI(LcConfigLookupFloat(__VA_ARGS__)))

Definition at line 24 of file config_overload_lc.h.

◆ LcConfigLookupFloat_E

#define LcConfigLookupFloat_E (   ...)    MkErrorCheck(LcConfigLookupFloat(__VA_ARGS__))

Definition at line 23 of file config_overload_lc.h.

◆ LcConfigLookupFloat_e

#define LcConfigLookupFloat_e (   ...)    MK_EMBEDDED(MK_DBL,LcConfigLookupFloat,__VA_ARGS__)

Definition at line 25 of file config_overload_lc.h.

◆ LcConfigLookupInt64_C

#define LcConfigLookupInt64_C (   ...)    if (MkErrorCheckI(LcConfigLookupInt64(__VA_ARGS__)))

Definition at line 30 of file config_overload_lc.h.

◆ LcConfigLookupInt64_E

#define LcConfigLookupInt64_E (   ...)    MkErrorCheck(LcConfigLookupInt64(__VA_ARGS__))

Definition at line 29 of file config_overload_lc.h.

◆ LcConfigLookupInt64_e

#define LcConfigLookupInt64_e (   ...)    MK_EMBEDDED(MK_WID,LcConfigLookupInt64,__VA_ARGS__)

Definition at line 31 of file config_overload_lc.h.

◆ LcConfigLookupInt_C

#define LcConfigLookupInt_C (   ...)    if (MkErrorCheckI(LcConfigLookupInt(__VA_ARGS__)))

Definition at line 27 of file config_overload_lc.h.

◆ LcConfigLookupInt_E

#define LcConfigLookupInt_E (   ...)    MkErrorCheck(LcConfigLookupInt(__VA_ARGS__))

Definition at line 26 of file config_overload_lc.h.

◆ LcConfigLookupInt_e

#define LcConfigLookupInt_e (   ...)    MK_EMBEDDED(MK_INT,LcConfigLookupInt,__VA_ARGS__)

Definition at line 28 of file config_overload_lc.h.

◆ LcConfigLookupString_C

#define LcConfigLookupString_C (   ...)    if (MkErrorCheckI(LcConfigLookupString(__VA_ARGS__)))

Definition at line 33 of file config_overload_lc.h.

◆ LcConfigLookupString_E

#define LcConfigLookupString_E (   ...)    MkErrorCheck(LcConfigLookupString(__VA_ARGS__))

Definition at line 32 of file config_overload_lc.h.

◆ LcConfigLookupString_e

#define LcConfigLookupString_e (   ...)    MK_EMBEDDED(MK_STRN,LcConfigLookupString,__VA_ARGS__)

Definition at line 34 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_C

#define LcConfigOptionsEF_FromInt_C (   ...)    if (MkErrorCheckI(LcConfigOptionsEF_FromInt(__VA_ARGS__)))

Definition at line 184 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_E

#define LcConfigOptionsEF_FromInt_E (   ...)    MkErrorCheck(LcConfigOptionsEF_FromInt(__VA_ARGS__))

Definition at line 183 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_e

#define LcConfigOptionsEF_FromInt_e (   ...)    MK_EMBEDDED(enum LcConfigOptionsEF,LcConfigOptionsEF_FromInt,__VA_ARGS__)

Definition at line 185 of file config_overload_lc.h.

◆ LcConfigRead_C

#define LcConfigRead_C (   ...)    if (MkErrorCheckI(LcConfigRead(__VA_ARGS__)))

Definition at line 51 of file config_overload_lc.h.

◆ LcConfigRead_E

#define LcConfigRead_E (   ...)    MkErrorCheck(LcConfigRead(__VA_ARGS__))

Definition at line 50 of file config_overload_lc.h.

◆ LcConfigReadFile_C

#define LcConfigReadFile_C (   ...)    if (MkErrorCheckI(LcConfigReadFile(__VA_ARGS__)))

Definition at line 53 of file config_overload_lc.h.

◆ LcConfigReadFile_E

#define LcConfigReadFile_E (   ...)    MkErrorCheck(LcConfigReadFile(__VA_ARGS__))

Definition at line 52 of file config_overload_lc.h.

◆ LcConfigReadString_C

#define LcConfigReadString_C (   ...)    if (MkErrorCheckI(LcConfigReadString(__VA_ARGS__)))

Definition at line 55 of file config_overload_lc.h.

◆ LcConfigReadString_E

#define LcConfigReadString_E (   ...)    MkErrorCheck(LcConfigReadString(__VA_ARGS__))

Definition at line 54 of file config_overload_lc.h.

◆ LcConfigSetIncludeFunc

#define LcConfigSetIncludeFunc (   ...)    LcConfigSetIncludeFunc_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 77 of file config_overload_lc.h.

◆ LcConfigSetIncludeFunc_C

#define LcConfigSetIncludeFunc_C (   ...)    if (MkErrorCheckI(LcConfigSetIncludeFunc(__VA_ARGS__)))

Definition at line 79 of file config_overload_lc.h.

◆ LcConfigSetIncludeFunc_E

#define LcConfigSetIncludeFunc_E (   ...)    MkErrorCheck(LcConfigSetIncludeFunc(__VA_ARGS__))

Definition at line 78 of file config_overload_lc.h.

◆ LcConfigSetSettingDeleteFunc

#define LcConfigSetSettingDeleteFunc (   ...)    LcConfigSetSettingDeleteFunc_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 80 of file config_overload_lc.h.

◆ LcConfigSetSettingDeleteFunc_C

#define LcConfigSetSettingDeleteFunc_C (   ...)    if (MkErrorCheckI(LcConfigSetSettingDeleteFunc(__VA_ARGS__)))

Definition at line 82 of file config_overload_lc.h.

◆ LcConfigSetSettingDeleteFunc_E

#define LcConfigSetSettingDeleteFunc_E (   ...)    MkErrorCheck(LcConfigSetSettingDeleteFunc(__VA_ARGS__))

Definition at line 81 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_C

#define LcConfigTypeE_FromInt_C (   ...)    if (MkErrorCheckI(LcConfigTypeE_FromInt(__VA_ARGS__)))

Definition at line 187 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_E

#define LcConfigTypeE_FromInt_E (   ...)    MkErrorCheck(LcConfigTypeE_FromInt(__VA_ARGS__))

Definition at line 186 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_e

#define LcConfigTypeE_FromInt_e (   ...)    MK_EMBEDDED(enum LcConfigTypeE,LcConfigTypeE_FromInt,__VA_ARGS__)

Definition at line 188 of file config_overload_lc.h.

◆ LcConfigWrite_C

#define LcConfigWrite_C (   ...)    if (MkErrorCheckI(LcConfigWrite(__VA_ARGS__)))

Definition at line 57 of file config_overload_lc.h.

◆ LcConfigWrite_E

#define LcConfigWrite_E (   ...)    MkErrorCheck(LcConfigWrite(__VA_ARGS__))

Definition at line 56 of file config_overload_lc.h.

◆ LcConfigWriteFile_C

#define LcConfigWriteFile_C (   ...)    if (MkErrorCheckI(LcConfigWriteFile(__VA_ARGS__)))

Definition at line 59 of file config_overload_lc.h.

◆ LcConfigWriteFile_E

#define LcConfigWriteFile_E (   ...)    MkErrorCheck(LcConfigWriteFile(__VA_ARGS__))

Definition at line 58 of file config_overload_lc.h.

◆ LcConfigWriteString

#define LcConfigWriteString (   ...)    LcConfigWriteString_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 63 of file config_overload_lc.h.

◆ LcConfigWriteString_C

#define LcConfigWriteString_C (   ...)    if (MkErrorCheckI(LcConfigWriteString(__VA_ARGS__)))

Definition at line 65 of file config_overload_lc.h.

◆ LcConfigWriteString_E

#define LcConfigWriteString_E (   ...)    MkErrorCheck(LcConfigWriteString(__VA_ARGS__))

Definition at line 64 of file config_overload_lc.h.

◆ LcConfigWriteString_e

#define LcConfigWriteString_e (   ...)    MK_EMBEDDED(MK_STRN,LcConfigWriteString,__VA_ARGS__)

Definition at line 66 of file config_overload_lc.h.

◆ LcErrorE_FromInt_C

#define LcErrorE_FromInt_C (   ...)    if (MkErrorCheckI(LcErrorE_FromInt(__VA_ARGS__)))

Definition at line 190 of file config_overload_lc.h.

◆ LcErrorE_FromInt_E

#define LcErrorE_FromInt_E (   ...)    MkErrorCheck(LcErrorE_FromInt(__VA_ARGS__))

Definition at line 189 of file config_overload_lc.h.

◆ LcErrorE_FromInt_e

#define LcErrorE_FromInt_e (   ...)    MK_EMBEDDED(enum LcErrorE,LcErrorE_FromInt,__VA_ARGS__)

Definition at line 191 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_C

#define LcErrorTypeE_FromInt_C (   ...)    if (MkErrorCheckI(LcErrorTypeE_FromInt(__VA_ARGS__)))

Definition at line 193 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_E

#define LcErrorTypeE_FromInt_E (   ...)    MkErrorCheck(LcErrorTypeE_FromInt(__VA_ARGS__))

Definition at line 192 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_e

#define LcErrorTypeE_FromInt_e (   ...)    MK_EMBEDDED(enum LcErrorTypeE,LcErrorTypeE_FromInt,__VA_ARGS__)

Definition at line 194 of file config_overload_lc.h.

◆ LcSettingLog

#define LcSettingLog (   ...)    LcSettingLog_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 136 of file config_overload_lc.h.

◆ LcSettingLog_1

#define LcSettingLog_1 (   setting)    LcSettingLog(setting,NULL,0,__func__,0)

Definition at line 140 of file config_overload_lc.h.

◆ LcSettingLog_2

#define LcSettingLog_2 (   setting,
  fmtobj 
)    LcSettingLog(setting,fmtobj,0,__func__,0)

Definition at line 139 of file config_overload_lc.h.

◆ LcSettingLog_3

#define LcSettingLog_3 (   setting,
  fmtobj,
  debug 
)    LcSettingLog(setting,fmtobj,debug,__func__,0)

Definition at line 138 of file config_overload_lc.h.

◆ LcSettingLog_4

#define LcSettingLog_4 (   setting,
  fmtobj,
  debug,
  callfunc 
)    LcSettingLog(setting,fmtobj,debug,callfunc,0)

Definition at line 137 of file config_overload_lc.h.

◆ LcSettingLookupBool_C

#define LcSettingLookupBool_C (   ...)    if (MkErrorCheckI(LcSettingLookupBool(__VA_ARGS__)))

Definition at line 112 of file config_overload_lc.h.

◆ LcSettingLookupBool_E

#define LcSettingLookupBool_E (   ...)    MkErrorCheck(LcSettingLookupBool(__VA_ARGS__))

Definition at line 111 of file config_overload_lc.h.

◆ LcSettingLookupBool_e

#define LcSettingLookupBool_e (   ...)    MK_EMBEDDED(MK_BOOL,LcSettingLookupBool,__VA_ARGS__)

Definition at line 113 of file config_overload_lc.h.

◆ LcSettingLookupFloat_C

#define LcSettingLookupFloat_C (   ...)    if (MkErrorCheckI(LcSettingLookupFloat(__VA_ARGS__)))

Definition at line 115 of file config_overload_lc.h.

◆ LcSettingLookupFloat_E

#define LcSettingLookupFloat_E (   ...)    MkErrorCheck(LcSettingLookupFloat(__VA_ARGS__))

Definition at line 114 of file config_overload_lc.h.

◆ LcSettingLookupFloat_e

#define LcSettingLookupFloat_e (   ...)    MK_EMBEDDED(MK_DBL,LcSettingLookupFloat,__VA_ARGS__)

Definition at line 116 of file config_overload_lc.h.

◆ LcSettingLookupInt64_C

#define LcSettingLookupInt64_C (   ...)    if (MkErrorCheckI(LcSettingLookupInt64(__VA_ARGS__)))

Definition at line 121 of file config_overload_lc.h.

◆ LcSettingLookupInt64_E

#define LcSettingLookupInt64_E (   ...)    MkErrorCheck(LcSettingLookupInt64(__VA_ARGS__))

Definition at line 120 of file config_overload_lc.h.

◆ LcSettingLookupInt64_e

#define LcSettingLookupInt64_e (   ...)    MK_EMBEDDED(MK_WID,LcSettingLookupInt64,__VA_ARGS__)

Definition at line 122 of file config_overload_lc.h.

◆ LcSettingLookupInt_C

#define LcSettingLookupInt_C (   ...)    if (MkErrorCheckI(LcSettingLookupInt(__VA_ARGS__)))

Definition at line 118 of file config_overload_lc.h.

◆ LcSettingLookupInt_E

#define LcSettingLookupInt_E (   ...)    MkErrorCheck(LcSettingLookupInt(__VA_ARGS__))

Definition at line 117 of file config_overload_lc.h.

◆ LcSettingLookupInt_e

#define LcSettingLookupInt_e (   ...)    MK_EMBEDDED(MK_INT,LcSettingLookupInt,__VA_ARGS__)

Definition at line 119 of file config_overload_lc.h.

◆ LcSettingLookupString_C

#define LcSettingLookupString_C (   ...)    if (MkErrorCheckI(LcSettingLookupString(__VA_ARGS__)))

Definition at line 124 of file config_overload_lc.h.

◆ LcSettingLookupString_E

#define LcSettingLookupString_E (   ...)    MkErrorCheck(LcSettingLookupString(__VA_ARGS__))

Definition at line 123 of file config_overload_lc.h.

◆ LcSettingLookupString_e

#define LcSettingLookupString_e (   ...)    MK_EMBEDDED(MK_STRN,LcSettingLookupString,__VA_ARGS__)

Definition at line 125 of file config_overload_lc.h.

◆ LcSettingRemove_C

#define LcSettingRemove_C (   ...)    if (MkErrorCheckI(LcSettingRemove(__VA_ARGS__)))

Definition at line 142 of file config_overload_lc.h.

◆ LcSettingRemove_E

#define LcSettingRemove_E (   ...)    MkErrorCheck(LcSettingRemove(__VA_ARGS__))

Definition at line 141 of file config_overload_lc.h.

◆ LcSettingRemoveElem_C

#define LcSettingRemoveElem_C (   ...)    if (MkErrorCheckI(LcSettingRemoveElem(__VA_ARGS__)))

Definition at line 144 of file config_overload_lc.h.

◆ LcSettingRemoveElem_E

#define LcSettingRemoveElem_E (   ...)    MkErrorCheck(LcSettingRemoveElem(__VA_ARGS__))

Definition at line 143 of file config_overload_lc.h.

◆ LcSettingSetBool_C

#define LcSettingSetBool_C (   ...)    if (MkErrorCheckI(LcSettingSetBool(__VA_ARGS__)))

Definition at line 156 of file config_overload_lc.h.

◆ LcSettingSetBool_E

#define LcSettingSetBool_E (   ...)    MkErrorCheck(LcSettingSetBool(__VA_ARGS__))

Definition at line 155 of file config_overload_lc.h.

◆ LcSettingSetFloat_C

#define LcSettingSetFloat_C (   ...)    if (MkErrorCheckI(LcSettingSetFloat(__VA_ARGS__)))

Definition at line 158 of file config_overload_lc.h.

◆ LcSettingSetFloat_E

#define LcSettingSetFloat_E (   ...)    MkErrorCheck(LcSettingSetFloat(__VA_ARGS__))

Definition at line 157 of file config_overload_lc.h.

◆ LcSettingSetFormat_C

#define LcSettingSetFormat_C (   ...)    if (MkErrorCheckI(LcSettingSetFormat(__VA_ARGS__)))

Definition at line 160 of file config_overload_lc.h.

◆ LcSettingSetFormat_E

#define LcSettingSetFormat_E (   ...)    MkErrorCheck(LcSettingSetFormat(__VA_ARGS__))

Definition at line 159 of file config_overload_lc.h.

◆ LcSettingSetInt64_C

#define LcSettingSetInt64_C (   ...)    if (MkErrorCheckI(LcSettingSetInt64(__VA_ARGS__)))

Definition at line 164 of file config_overload_lc.h.

◆ LcSettingSetInt64_E

#define LcSettingSetInt64_E (   ...)    MkErrorCheck(LcSettingSetInt64(__VA_ARGS__))

Definition at line 163 of file config_overload_lc.h.

◆ LcSettingSetInt_C

#define LcSettingSetInt_C (   ...)    if (MkErrorCheckI(LcSettingSetInt(__VA_ARGS__)))

Definition at line 162 of file config_overload_lc.h.

◆ LcSettingSetInt_E

#define LcSettingSetInt_E (   ...)    MkErrorCheck(LcSettingSetInt(__VA_ARGS__))

Definition at line 161 of file config_overload_lc.h.

◆ LcSettingSetString_C

#define LcSettingSetString_C (   ...)    if (MkErrorCheckI(LcSettingSetString(__VA_ARGS__)))

Definition at line 166 of file config_overload_lc.h.

◆ LcSettingSetString_E

#define LcSettingSetString_E (   ...)    MkErrorCheck(LcSettingSetString(__VA_ARGS__))

Definition at line 165 of file config_overload_lc.h.

Function Documentation

◆ LcConfigLookup()

mk_inline LC_CFS LcConfigLookup ( LC_CFGN  config,
MK_STRN  path 
)
inline

This function locates the setting in the configuration config specified by the path path

It returns a pointer to the LcSettingC structure on success, or NULL if the setting was not found.

Definition at line 442 of file LcConfigC_lc.h.

◆ LcConfigLookupBool()

mk_inline enum MkErrorE LcConfigLookupBool ( LC_CFGN  config,
MK_STRN  path,
MK_BOOL value_out 
)
inline

These functions look up the value of the setting in the configuration config specified by the path path

They store the value of the setting at value and return CONFIG_TRUE on success. If the setting was not found or if the type of the value did not match the type requested, they leave the data pointed to by value unmodified and return CONFIG_FALSE.

Storage for the string returned by ConfigLookupString is managed by the library and released automatically when the setting is destroyed or when the setting's value is changed; the string must not be freed by the caller.

See also
ConfigLookupFloat, ConfigLookupInt, ConfigLookupInt64, ConfigLookupString

Definition at line 450 of file LcConfigC_lc.h.

◆ LcConfigLookupBoolP()

LC_EXTERN enum MkErrorE LcConfigLookupBoolP ( LC_CFGN  config,
MK_STRN  path,
MK_BOOL value_out 
)

Non-inline replacement for LcConfigLookupBool

◆ LcConfigLookupFloat()

mk_inline enum MkErrorE LcConfigLookupFloat ( LC_CFGN  config,
MK_STRN  path,
MK_DBL value_out 
)
inline

These functions look up the value of the setting in the configuration config specified by the path path

They store the value of the setting at value and return CONFIG_TRUE on success. If the setting was not found or if the type of the value did not match the type requested, they leave the data pointed to by value unmodified and return CONFIG_FALSE.

Storage for the string returned by ConfigLookupString is managed by the library and released automatically when the setting is destroyed or when the setting's value is changed; the string must not be freed by the caller.

See also
ConfigLookupBool, ConfigLookupInt, ConfigLookupInt64, ConfigLookupString

Definition at line 461 of file LcConfigC_lc.h.

◆ LcConfigLookupFloatP()

LC_EXTERN enum MkErrorE LcConfigLookupFloatP ( LC_CFGN  config,
MK_STRN  path,
MK_DBL value_out 
)

Non-inline replacement for LcConfigLookupFloat

◆ LcConfigLookupInt()

mk_inline enum MkErrorE LcConfigLookupInt ( LC_CFGN  config,
MK_STRN  path,
MK_INT value_out 
)
inline

These functions look up the value of the setting in the configuration config specified by the path path

They store the value of the setting at value and return CONFIG_TRUE on success. If the setting was not found or if the type of the value did not match the type requested, they leave the data pointed to by value unmodified and return CONFIG_FALSE.

Storage for the string returned by ConfigLookupString is managed by the library and released automatically when the setting is destroyed or when the setting's value is changed; the string must not be freed by the caller.

See also
ConfigLookupBool, ConfigLookupFloat, ConfigLookupInt64, ConfigLookupString

Definition at line 470 of file LcConfigC_lc.h.

◆ LcConfigLookupInt64()

mk_inline enum MkErrorE LcConfigLookupInt64 ( LC_CFGN  config,
MK_STRN  path,
MK_WID value_out 
)
inline

These functions look up the value of the setting in the configuration config specified by the path path

They store the value of the setting at value and return CONFIG_TRUE on success. If the setting was not found or if the type of the value did not match the type requested, they leave the data pointed to by value unmodified and return CONFIG_FALSE.

Storage for the string returned by ConfigLookupString is managed by the library and released automatically when the setting is destroyed or when the setting's value is changed; the string must not be freed by the caller.

See also
ConfigLookupBool, ConfigLookupFloat, ConfigLookupInt, ConfigLookupString

Definition at line 479 of file LcConfigC_lc.h.

◆ LcConfigLookupInt64P()

LC_EXTERN enum MkErrorE LcConfigLookupInt64P ( LC_CFGN  config,
MK_STRN  path,
MK_WID value_out 
)

Non-inline replacement for LcConfigLookupInt64

◆ LcConfigLookupIntP()

LC_EXTERN enum MkErrorE LcConfigLookupIntP ( LC_CFGN  config,
MK_STRN  path,
MK_INT value_out 
)

Non-inline replacement for LcConfigLookupInt

◆ LcConfigLookupP()

LC_EXTERN LC_CFS LcConfigLookupP ( LC_CFGN  config,
MK_STRN  path 
)

Non-inline replacement for LcConfigLookup

◆ LcConfigLookupString()

mk_inline enum MkErrorE LcConfigLookupString ( LC_CFGN  config,
MK_STRN  path,
MK_STRN value_out 
)
inline

These functions look up the value of the setting in the configuration config specified by the path path

They store the value of the setting at value and return CONFIG_TRUE on success. If the setting was not found or if the type of the value did not match the type requested, they leave the data pointed to by value unmodified and return CONFIG_FALSE.

Storage for the string returned by ConfigLookupString is managed by the library and released automatically when the setting is destroyed or when the setting's value is changed; the string must not be freed by the caller.

See also
ConfigLookupBool, ConfigLookupFloat, ConfigLookupInt, ConfigLookupInt64

Definition at line 490 of file LcConfigC_lc.h.

◆ LcConfigLookupStringP()

LC_EXTERN enum MkErrorE LcConfigLookupStringP ( LC_CFGN  config,
MK_STRN  path,
MK_STRN value_out 
)

Non-inline replacement for LcConfigLookupString