#include <gwenhywfar/gwenhywfar.h>
#include <gwenhywfar/directory.h>
#include <gwenhywfar/pathmanager.h>
#include "base/debug.h"
#include "base/logger_l.h"
#include <gwenhywfar/logger.h>
#include <gwenhywfar/error.h>
#include <gwenhywfar/memory.h>
#include "plugin.h"
#include <gwenhywfar/misc.h>
#include "base/i18n_l.h"
#include <gwenhywfar/inetaddr.h>
#include <gwenhywfar/inetsocket.h>
#include <gwenhywfar/libloader.h>
#include <gwenhywfar/process.h>
#include <gwenhywfar/bufferedio.h>
#include <gwenhywfar/dbio_be.h>
#include <gwenhywfar/configmgr_be.h>
#include <gwenhywfar/cryptkey_be.h>
#include <gwenhywfar/ctplugin.h>
#include <gwenhywfar/iomanager.h>
#include "binreloc.h"
Go to the source code of this file.
Defines | |
#define | DIRSEP "/" |
#define | GWEN_REGKEY_PATHS "Software\\Gwenhywfar\\Paths" |
#define | GWEN_REGNAME_DATADIR "pkgdatadir" |
#define | GWEN_REGNAME_LIBDIR "libdir" |
#define | GWEN_REGNAME_LOCALEDIR "localedir" |
#define | GWEN_REGNAME_PLUGINDIR "plugindir" |
#define | GWEN_REGNAME_PREFIX "prefix" |
#define | GWEN_REGNAME_SYSCONFDIR "sysconfdir" |
Functions | |
char * | GWEN__get_plugindir (const char *default_dir) |
int | GWEN_Fini () |
int | GWEN_Fini_Forced () |
int | GWEN_Init () |
void | GWEN_Version (int *major, int *minor, int *patchlevel, int *build) |
Variables | |
static int | gwen_binreloc_initialized = 0 |
static unsigned int | gwen_is_initialized = 0 |
#define DIRSEP "/" |
Definition at line 72 of file gwenhywfar.c.
#define GWEN_REGKEY_PATHS "Software\\Gwenhywfar\\Paths" |
Definition at line 78 of file gwenhywfar.c.
Referenced by GWEN_Init().
#define GWEN_REGNAME_DATADIR "pkgdatadir" |
Definition at line 84 of file gwenhywfar.c.
Referenced by GWEN_Init().
#define GWEN_REGNAME_LIBDIR "libdir" |
Definition at line 80 of file gwenhywfar.c.
#define GWEN_REGNAME_LOCALEDIR "localedir" |
Definition at line 83 of file gwenhywfar.c.
Referenced by GWEN_Init().
#define GWEN_REGNAME_PLUGINDIR "plugindir" |
Definition at line 81 of file gwenhywfar.c.
Referenced by GWEN_Init().
#define GWEN_REGNAME_PREFIX "prefix" |
Definition at line 79 of file gwenhywfar.c.
#define GWEN_REGNAME_SYSCONFDIR "sysconfdir" |
Definition at line 82 of file gwenhywfar.c.
Referenced by GWEN_Init().
char* GWEN__get_plugindir | ( | const char * | default_dir | ) |
int GWEN_Fini | ( | ) |
Definition at line 276 of file gwenhywfar.c.
References DBG_ERROR, GWEN_ConfigMgr_ModuleFini(), GWEN_Crypt3_ModuleFini(), GWEN_Crypt_Token_ModuleFini(), GWEN_DBIO_ModuleFini(), GWEN_Error_ModuleFini(), GWEN_I18N_ModuleFini(), GWEN_InetAddr_ModuleFini(), GWEN_Io_Manager_ModuleFini(), gwen_is_initialized, GWEN_LibLoader_ModuleFini(), GWEN_LOGDOMAIN, GWEN_Logger_ModuleFini(), GWEN_Memory_ModuleFini(), GWEN_PathManager_ModuleFini(), GWEN_Plugin_ModuleFini(), GWEN_Process_ModuleFini(), and GWEN_Socket_ModuleFini().
Referenced by GWEN_Fini_Forced().
int GWEN_Fini_Forced | ( | ) |
Definition at line 387 of file gwenhywfar.c.
References GWEN_Fini(), and gwen_is_initialized.
int GWEN_Init | ( | ) |
Definition at line 92 of file gwenhywfar.c.
References br_init_lib, DBG_DEBUG, DBG_INFO, gwen_binreloc_initialized, GWEN_ConfigMgr_ModuleInit(), GWEN_Crypt3_ModuleInit(), GWEN_Crypt_Token_ModuleInit(), GWEN_DBIO_ModuleInit(), GWEN_Error_ModuleInit(), GWEN_I18N_ModuleInit(), GWEN_InetAddr_ModuleInit(), GWEN_Io_Manager_ModuleInit(), gwen_is_initialized, GWEN_LibLoader_ModuleInit(), GWEN_LOGDOMAIN, GWEN_Logger_ModuleInit(), GWEN_Memory_ModuleInit(), GWEN_PathManager_AddPath(), GWEN_PathManager_AddPathFromWinReg(), GWEN_PathManager_AddRelPath(), GWEN_PathManager_DefinePath(), GWEN_PathManager_ModuleInit(), GWEN_PathManager_RelModeExe, GWEN_Plugin_ModuleInit(), GWEN_PM_DATADIR, GWEN_PM_LIBNAME, GWEN_PM_LOCALEDIR, GWEN_PM_PLUGINDIR, GWEN_PM_SYSCONFDIR, GWEN_Process_ModuleInit(), GWEN_REGKEY_PATHS, GWEN_REGNAME_DATADIR, GWEN_REGNAME_LOCALEDIR, GWEN_REGNAME_PLUGINDIR, GWEN_REGNAME_SYSCONFDIR, and GWEN_Socket_ModuleInit().
void GWEN_Version | ( | int * | major, | |
int * | minor, | |||
int * | patchlevel, | |||
int * | build | |||
) |
Definition at line 395 of file gwenhywfar.c.
References GWENHYWFAR_VERSION_BUILD, GWENHYWFAR_VERSION_MAJOR, GWENHYWFAR_VERSION_MINOR, and GWENHYWFAR_VERSION_PATCHLEVEL.
int gwen_binreloc_initialized = 0 [static] |
Definition at line 88 of file gwenhywfar.c.
Referenced by GWEN_Init().
unsigned int gwen_is_initialized = 0 [static] |
Definition at line 87 of file gwenhywfar.c.
Referenced by GWEN_Fini(), GWEN_Fini_Forced(), and GWEN_Init().