00001 /*************************************************************************** 00002 $RCSfile: gwenhywfar.h,v $ 00003 ------------------- 00004 cvs : $Id: gwenhywfar.h,v 1.5 2005/08/17 18:21:48 aquamaniac Exp $ 00005 begin : Thu Sep 11 2003 00006 copyright : (C) 2003 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * * 00011 * This library is free software; you can redistribute it and/or * 00012 * modify it under the terms of the GNU Lesser General Public * 00013 * License as published by the Free Software Foundation; either * 00014 * version 2.1 of the License, or (at your option) any later version. * 00015 * * 00016 * This library is distributed in the hope that it will be useful, * 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00019 * Lesser General Public License for more details. * 00020 * * 00021 * You should have received a copy of the GNU Lesser General Public * 00022 * License along with this library; if not, write to the Free Software * 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * 00024 * MA 02111-1307 USA * 00025 * * 00026 ***************************************************************************/ 00027 00028 00029 #ifndef GWENHYWFAR_GWENHYWFAR_H 00030 #define GWENHYWFAR_GWENHYWFAR_H 00031 00032 #include <gwenhywfar/gwenhywfarapi.h> 00033 #include <gwenhywfar/error.h> 00034 #include <gwenhywfar/buffer.h> 00035 #include <gwenhywfar/stringlist.h> 00036 00037 00042 #define GWEN_PM_LIBNAME "gwenhywfar" 00043 00044 #define GWEN_PM_INSTALLDIR "installdir" 00045 #define GWEN_PM_SYSCONFDIR "sysconfdir" 00046 00047 00048 00049 #ifdef __cplusplus 00050 extern "C" { 00051 #endif 00052 00053 00054 GWENHYWFAR_API 00055 GWEN_ERRORCODE GWEN_Init(); 00056 00057 GWENHYWFAR_API 00058 GWEN_ERRORCODE GWEN_Fini(); 00059 00060 00061 GWENHYWFAR_API 00062 void GWEN_Version(int *major, 00063 int *minor, 00064 int *patchlevel, 00065 int *build); 00066 00074 GWENHYWFAR_API 00075 int GWEN_GetInstallPath(GWEN_BUFFER *pbuf); 00076 00077 00078 GWENHYWFAR_API 00079 int GWEN_GetPluginPath(GWEN_BUFFER *pbuf); 00080 00081 00082 00083 00084 #ifdef __cplusplus 00085 } 00086 #endif 00087 00088 00089 #endif