gwenhywfar  4.99.8beta
Typedefs | Functions
configmgr_be.h File Reference
#include <gwenhywfar/configmgr.h>
#include <gwenhywfar/plugin.h>
Include dependency graph for configmgr_be.h:

Go to the source code of this file.

Typedefs

typedef int(* GWEN_CONFIGMGR_DELETEGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName)
 
typedef int(* GWEN_CONFIGMGR_GETGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName, GWEN_DB_NODE **pDb)
 
typedef int(* GWEN_CONFIGMGR_GETUNIQUEID_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, char *buffer, uint32_t bufferLen)
 
typedef int(* GWEN_CONFIGMGR_LISTGROUPS_FN) (GWEN_CONFIGMGR *mgr, GWEN_STRINGLIST *sl)
 
typedef int(* GWEN_CONFIGMGR_LISTSUBGROUPS_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, GWEN_STRINGLIST *sl)
 
typedef int(* GWEN_CONFIGMGR_LOCKGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName)
 
typedef int(* GWEN_CONFIGMGR_MKUNIQUEIDFROMID_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, uint32_t uid, int doCheck, char *buffer, uint32_t bufferLen)
 
typedef GWEN_CONFIGMGR *(* GWEN_CONFIGMGR_PLUGIN_FACTORYFN) (GWEN_PLUGIN *pl, const char *url)
 
typedef int(* GWEN_CONFIGMGR_SETGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName, GWEN_DB_NODE *db)
 
typedef int(* GWEN_CONFIGMGR_UNLOCKGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName)
 

Functions

GWENHYWFAR_API GWEN_CONFIGMGR * GWEN_ConfigMgr_new (const char *url)
 
GWENHYWFAR_API GWEN_PLUGIN * GWEN_ConfigMgr_Plugin_new (GWEN_PLUGIN_MANAGER *pm, const char *name, const char *fileName)
 
GWENHYWFAR_API void GWEN_ConfigMgr_Plugin_SetFactoryFn (GWEN_PLUGIN *pl, GWEN_CONFIGMGR_PLUGIN_FACTORYFN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_DELETEGROUP_FN GWEN_ConfigMgr_SetDeleteGroupFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_DELETEGROUP_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_GETGROUP_FN GWEN_ConfigMgr_SetGetGroupFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_GETGROUP_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_GETUNIQUEID_FN GWEN_ConfigMgr_SetGetUniqueIdFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_GETUNIQUEID_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_LISTGROUPS_FN GWEN_ConfigMgr_SetListGroupsFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_LISTGROUPS_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_LISTSUBGROUPS_FN GWEN_ConfigMgr_SetListSubGroupsFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_LISTSUBGROUPS_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_LOCKGROUP_FN GWEN_ConfigMgr_SetLockGroupFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_LOCKGROUP_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_MKUNIQUEIDFROMID_FN GWEN_ConfigMgr_SetMkUniqueIdFromIdFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_MKUNIQUEIDFROMID_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_SETGROUP_FN GWEN_ConfigMgr_SetSetGroupFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_SETGROUP_FN f)
 
GWENHYWFAR_API GWEN_CONFIGMGR_UNLOCKGROUP_FN GWEN_ConfigMgr_SetUnlockGroupFn (GWEN_CONFIGMGR *mgr, GWEN_CONFIGMGR_UNLOCKGROUP_FN f)
 

Typedef Documentation

◆ GWEN_CONFIGMGR_DELETEGROUP_FN

typedef int(* GWEN_CONFIGMGR_DELETEGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName)

Definition at line 69 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_GETGROUP_FN

typedef int(* GWEN_CONFIGMGR_GETGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName, GWEN_DB_NODE **pDb)

Definition at line 39 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_GETUNIQUEID_FN

typedef int(* GWEN_CONFIGMGR_GETUNIQUEID_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, char *buffer, uint32_t bufferLen)

Definition at line 57 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_LISTGROUPS_FN

typedef int(* GWEN_CONFIGMGR_LISTGROUPS_FN) (GWEN_CONFIGMGR *mgr, GWEN_STRINGLIST *sl)

Definition at line 73 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_LISTSUBGROUPS_FN

typedef int(* GWEN_CONFIGMGR_LISTSUBGROUPS_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, GWEN_STRINGLIST *sl)

Definition at line 76 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_LOCKGROUP_FN

typedef int(* GWEN_CONFIGMGR_LOCKGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName)

Definition at line 49 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_MKUNIQUEIDFROMID_FN

typedef int(* GWEN_CONFIGMGR_MKUNIQUEIDFROMID_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, uint32_t uid, int doCheck, char *buffer, uint32_t bufferLen)

Definition at line 62 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_PLUGIN_FACTORYFN

typedef GWEN_CONFIGMGR*(* GWEN_CONFIGMGR_PLUGIN_FACTORYFN) (GWEN_PLUGIN *pl, const char *url)

Definition at line 122 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_SETGROUP_FN

typedef int(* GWEN_CONFIGMGR_SETGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName, GWEN_DB_NODE *db)

Definition at line 44 of file configmgr_be.h.

◆ GWEN_CONFIGMGR_UNLOCKGROUP_FN

typedef int(* GWEN_CONFIGMGR_UNLOCKGROUP_FN) (GWEN_CONFIGMGR *mgr, const char *groupName, const char *subGroupName)

Definition at line 53 of file configmgr_be.h.

Function Documentation

◆ GWEN_ConfigMgr_new()

GWENHYWFAR_API GWEN_CONFIGMGR* GWEN_ConfigMgr_new ( const char *  url)

Definition at line 118 of file configmgr.c.

References GWEN_INHERIT_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_ConfigMgrDir_new().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_Plugin_new()

GWENHYWFAR_API GWEN_PLUGIN* GWEN_ConfigMgr_Plugin_new ( GWEN_PLUGIN_MANAGER *  pm,
const char *  name,
const char *  fileName 
)

Definition at line 377 of file configmgr.c.

References GWEN_ConfigMgr_Plugin_FreeData(), GWEN_INHERIT_SETDATA, GWEN_NEW_OBJECT, and GWEN_Plugin_new().

Referenced by configmgr_dir_factory().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_ConfigMgr_Plugin_SetFactoryFn()

GWENHYWFAR_API void GWEN_ConfigMgr_Plugin_SetFactoryFn ( GWEN_PLUGIN *  pl,
GWEN_CONFIGMGR_PLUGIN_FACTORYFN  f 
)

Definition at line 402 of file configmgr.c.

References GWEN_INHERIT_GETDATA.

Referenced by configmgr_dir_factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetDeleteGroupFn()

Definition at line 220 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetGetGroupFn()

Definition at line 142 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetGetUniqueIdFn()

Definition at line 194 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetListGroupsFn()

Definition at line 233 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetListSubGroupsFn()

Definition at line 246 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetLockGroupFn()

Definition at line 168 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetMkUniqueIdFromIdFn()

Definition at line 207 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetSetGroupFn()

Definition at line 155 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function:

◆ GWEN_ConfigMgr_SetUnlockGroupFn()

Definition at line 181 of file configmgr.c.

Referenced by GWEN_ConfigMgrDir_Factory().

Here is the caller graph for this function: