gwenhywfar  4.8.0beta
plugin.h
Go to the documentation of this file.
1 /***************************************************************************
2  $RCSfile$
3  -------------------
4  cvs : $Id$
5  begin : Fri Sep 12 2003
6  copyright : (C) 2003 by Martin Preuss
7  email : martin@libchipcard.de
8 
9  ***************************************************************************
10  * *
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2.1 of the License, or (at your option) any later version. *
15  * *
16  * This library is distributed in the hope that it will be useful, *
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19  * Lesser General Public License for more details. *
20  * *
21  * You should have received a copy of the GNU Lesser General Public *
22  * License along with this library; if not, write to the Free Software *
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
24  * MA 02111-1307 USA *
25  * *
26  ***************************************************************************/
27 
28 
29 #ifndef GWENHYWFAR_PLUGIN_H
30 #define GWENHYWFAR_PLUGIN_H
31 
32 #include <gwenhywfar/inherit.h>
33 #include <gwenhywfar/misc.h>
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 typedef struct GWEN_PLUGIN GWEN_PLUGIN;
41 
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #include <gwenhywfar/error.h>
50 #include <gwenhywfar/libloader.h>
51 #include <gwenhywfar/plugindescr.h>
52 #include <gwenhywfar/stringlist.h>
53 #include <gwenhywfar/pathmanager.h>
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 
60 
61 
62 typedef GWEN_PLUGIN* (*GWEN_PLUGIN_FACTORYFN)(GWEN_PLUGIN_MANAGER *pm,
63  const char *name,
64  const char *fileName);
65 
66 
69  const char *name,
70  const char *fileName);
71 
74 
77 
79 const char *GWEN_Plugin_GetName(const GWEN_PLUGIN *p);
80 
82 const char *GWEN_Plugin_GetFileName(const GWEN_PLUGIN *p);
83 
86 
87 
88 
89 
90 
91 
98  const char *destLib);
99 
102 
103 
105 const char *GWEN_PluginManager_GetName(const GWEN_PLUGIN_MANAGER *pm);
106 
114  const char *callingLib,
115  const char *path);
116 
119  const char *callingLib,
120  const char *relpath,
122 
130  const char *callingLib,
131  const char *path);
132 
135  const char *callingLib,
136  const char *path);
137 
163  const char *callingLib,
164  const char *keypath,
165  const char *varname);
166 
171 
174  const char *modName);
175 
178  const char *modName,
179  const char *fname);
180 
181 
184  const char *s);
185 
193 
194 
197 
200 
203 
204 
206 GWEN_PLUGIN_DESCRIPTION_LIST2*
208 
209 
213  const char *modName);
214 
215 
216 #ifdef __cplusplus
217 }
218 #endif
219 
220 #endif
221 
222