37 #include <gwenhywfar/gwenhywfar.h>
38 #include <gwenhywfar/directory.h>
39 #include <gwenhywfar/pathmanager.h>
62 #include <gnutls/gnutls.h>
76 #define GWEN_REGKEY_PATHS "Software\\Gwenhywfar\\Paths"
77 #define GWEN_REGNAME_PREFIX "prefix"
78 #define GWEN_REGNAME_LIBDIR "libdir"
79 #define GWEN_REGNAME_PLUGINDIR "plugindir"
80 #define GWEN_REGNAME_SYSCONFDIR "sysconfdir"
81 #define GWEN_REGNAME_LOCALEDIR "localedir"
82 #define GWEN_REGNAME_DATADIR "pkgdatadir"
83 #define GWEN_REGNAME_SYSDATADIR "sysdatadir"
103 gnutls_global_init();
106 #ifdef ENABLE_BINRELOC
142 #if defined(OS_WIN32) || defined(ENABLE_LOCAL_INSTALL)
165 #if defined(OS_WIN32) || defined(ENABLE_LOCAL_INSTALL)
188 #if defined(OS_WIN32) || defined(ENABLE_LOCAL_INSTALL)
211 #if defined(OS_WIN32) || defined(ENABLE_LOCAL_INSTALL)
234 #if defined(OS_WIN32) || defined(ENABLE_LOCAL_INSTALL)
318 "Could not deinitialze module CryptToken2");
324 "Could not deinitialze module ConfigMgr");
330 "Could not deinitialze module DBIO");
336 "Could not deinitialze module Plugin");
342 "Could not deinitialze module Process");
348 "Could not deinitialze module Crypt3");
354 "Could not deinitialze module LibLoader");
360 "Could not deinitialze module Socket");
366 "Could not deinitialze module InetAddr");
373 "Could not deinitialze module I18N");
380 "Could not deinitialze module PathManager");
390 "Could not deinitialze module Logger");
397 "Could not deinitialze module Memory");
400 gnutls_global_deinit();
int GWEN_ConfigMgr_ModuleFini(void)
int GWEN_Plugin_ModuleFini(void)
#define GWENHYWFAR_VERSION_MAJOR
int GWEN_DBIO_ModuleFini(void)
int GWEN_LibLoader_ModuleFini(void)
#define GWEN_PM_SYSDATADIR
static int gwen_binreloc_initialized
int GWEN_PathManager_AddPath(const char *callingLib, const char *destLib, const char *pathName, const char *pathValue)
#define GWEN_REGNAME_SYSCONFDIR
#define GWEN_REGNAME_DATADIR
int GWEN_Crypt3_ModuleFini(void)
#define GWENHYWFAR_VERSION_PATCHLEVEL
int GWEN_Crypt_Token_ModuleInit(void)
int build(GWEN_DB_NODE *dbArgs)
#define GWENHYWFAR_VERSION_BUILD
int GWEN_I18N_ModuleInit(void)
int GWEN_Socket_ModuleFini(void)
void GWEN_Version(int *major, int *minor, int *patchlevel, int *build)
int GWEN_Logger_ModuleFini(void)
int GWEN_Crypt3_ModuleInit(void)
#define GWEN_REGNAME_PLUGINDIR
int GWEN_Plugin_ModuleInit(void)
int GWEN_I18N_ModuleFini(void)
int GWEN_PathManager_ModuleInit(void)
#define DBG_DEBUG(dbg_logger, format, args...)
#define GWEN_PM_SYSCONFDIR
int GWEN_Error_ModuleInit(void)
static unsigned int gwen_is_initialized
int GWEN_Error_ModuleFini(void)
int GWEN_Memory_ModuleInit(void)
int GWEN_Process_ModuleInit(void)
int GWEN_Fini_Forced(void)
#define GWEN_REGNAME_LOCALEDIR
#define DBG_ERROR(dbg_logger, format, args...)
int GWEN_Process_ModuleFini(void)
int GWEN_Socket_ModuleInit(void)
int GWEN_PathManager_ModuleFini(void)
#define GWEN_REGNAME_SYSDATADIR
int GWEN_DBIO_ModuleInit(void)
#define GWEN_REGKEY_PATHS
int GWEN_PathManager_AddRelPath(const char *callingLib, const char *destLib, const char *pathName, const char *pathValue, GWEN_PATHMANAGER_RELMODE rm)
#define GWEN_PM_PLUGINDIR
#define GWEN_PM_LOCALEDIR
#define DBG_INFO(dbg_logger, format, args...)
#define GWENHYWFAR_VERSION_MINOR
int GWEN_PathManager_AddPathFromWinReg(GWEN_UNUSED const char *callingLib, GWEN_UNUSED const char *destLib, GWEN_UNUSED const char *pathName, GWEN_UNUSED const char *keypath, GWEN_UNUSED const char *varname)
int GWEN_InetAddr_ModuleFini(void)
int GWEN_ConfigMgr_ModuleInit(void)
int GWEN_Memory_ModuleFini(void)
int GWEN_InetAddr_ModuleInit(void)
int GWEN_LibLoader_ModuleInit(void)
int GWEN_Crypt_Token_ModuleFini(void)
int GWEN_Logger_ModuleInit(void)
int GWEN_PathManager_DefinePath(const char *destLib, const char *pathName)
char * GWEN__get_plugindir(const char *default_dir)