#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/error.h>
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/stringlist.h>
Go to the source code of this file.
Defines | |
#define | GWEN_PM_INSTALLDIR "installdir" |
#define | GWEN_PM_LIBDIR "libdir" |
#define | GWEN_PM_LIBNAME "gwenhywfar" |
#define | GWEN_PM_LOCALEDIR "localedir" |
#define | GWEN_PM_PLUGINDIR "plugindir" |
#define | GWEN_PM_SYSCONFDIR "sysconfdir" |
Functions | |
GWENHYWFAR_API GWEN_ERRORCODE | GWEN_Fini () |
GWENHYWFAR_API GWEN_ERRORCODE | GWEN_Fini_Forced () |
GWENHYWFAR_API int | GWEN_GetInstallPath (GWEN_BUFFER *pbuf) |
GWENHYWFAR_API int | GWEN_GetPluginPath (GWEN_BUFFER *pbuf) |
GWENHYWFAR_API GWEN_ERRORCODE | GWEN_Init () |
GWENHYWFAR_API void | GWEN_Version (int *major, int *minor, int *patchlevel, int *build) |
#define GWEN_PM_INSTALLDIR "installdir" |
Path identifier for the installation prefix of this gwenhywfar installation, which might point to e.g. "/usr"
#define GWEN_PM_LIBDIR "libdir" |
Path identifier for the library files of this gwenhywfar installation, which point to e.g. "/usr/lib"
#define GWEN_PM_LIBNAME "gwenhywfar" |
This is used as the destLib name for paths of Gwenhywfar when used with GWEN_PathManager_AddPath and other functions of that group.
#define GWEN_PM_LOCALEDIR "localedir" |
Path identifier for the locale data directory of this gwenhywfar installation, which might point to e.g. "/usr/share/locale"
#define GWEN_PM_PLUGINDIR "plugindir" |
Path identifier for the plugin library files of this gwenhywfar installation, which point to e.g. "/usr/lib/gwenhywfar/plugins/0"
#define GWEN_PM_SYSCONFDIR "sysconfdir" |
Path identifier for the system-wide configuration directory of this gwenhywfar installation, which might point to e.g. "/etc"
GWENHYWFAR_API GWEN_ERRORCODE GWEN_Fini | ( | ) |
GWENHYWFAR_API GWEN_ERRORCODE GWEN_Fini_Forced | ( | ) |
GWENHYWFAR_API int GWEN_GetInstallPath | ( | GWEN_BUFFER * | pbuf | ) |
Returns the installation prefix of gwenhywfar. On WIN32 systems this value is taken from the Registry (key is "Software\\Gwenhywfar\\Paths\\prefix"). On POSIX systems (or when this key does not exist) the hardcoded installation prefix is returned ($prefix).
GWENHYWFAR_API int GWEN_GetPluginPath | ( | GWEN_BUFFER * | pbuf | ) |
GWENHYWFAR_API GWEN_ERRORCODE GWEN_Init | ( | ) |
GWENHYWFAR_API void GWEN_Version | ( | int * | major, | |
int * | minor, | |||
int * | patchlevel, | |||
int * | build | |||
) |