gwenhywfar.h File Reference

#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 Documentation

#define GWEN_PM_INSTALLDIR   "installdir"

Path identifier for the installation prefix of this gwenhywfar installation, which might point to e.g. "/usr"

Definition at line 46 of file gwenhywfar.h.

#define GWEN_PM_LIBDIR   "libdir"

Path identifier for the library files of this gwenhywfar installation, which point to e.g. "/usr/lib"

Definition at line 55 of file gwenhywfar.h.

#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.

Definition at line 42 of file gwenhywfar.h.

#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"

Definition at line 52 of file gwenhywfar.h.

#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"

Definition at line 59 of file gwenhywfar.h.

#define GWEN_PM_SYSCONFDIR   "sysconfdir"

Path identifier for the system-wide configuration directory of this gwenhywfar installation, which might point to e.g. "/etc"

Definition at line 49 of file gwenhywfar.h.


Function Documentation

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 
)


Generated on Tue May 1 12:56:30 2007 for gwenhywfar by  doxygen 1.5.1