diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-25 23:12:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-25 23:12:26 +0000 |
commit | 6ec2c6dc89a62810fe44696d7faaad9d837105cd (patch) | |
tree | c8c0380028555266b8aa968027b23d3177e81ffb /src/datacache/plugin_datacache_template.c | |
parent | c890b76cde9288a8d9f2faa3046fbb06341c8082 (diff) | |
download | gnunet-6ec2c6dc89a62810fe44696d7faaad9d837105cd.tar.gz gnunet-6ec2c6dc89a62810fe44696d7faaad9d837105cd.zip |
making plugin compile
Diffstat (limited to 'src/datacache/plugin_datacache_template.c')
-rw-r--r-- | src/datacache/plugin_datacache_template.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/datacache/plugin_datacache_template.c b/src/datacache/plugin_datacache_template.c index d1f162c17..501284c30 100644 --- a/src/datacache/plugin_datacache_template.c +++ b/src/datacache/plugin_datacache_template.c | |||
@@ -23,20 +23,10 @@ | |||
23 | * @brief template for an implementation of a database backend for the datacache | 23 | * @brief template for an implementation of a database backend for the datacache |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #ifndef PLUGIN_DATACACHE_H | 26 | #include "platform.h" |
27 | #define PLUGIN_DATACACHE_H | 27 | #include "gnunet_util_lib.h" |
28 | |||
29 | #include "plugin_datacache.h" | 28 | #include "plugin_datacache.h" |
30 | 29 | ||
31 | #ifdef __cplusplus | ||
32 | extern "C" | ||
33 | { | ||
34 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
35 | } | ||
36 | #endif | ||
37 | #endif | ||
38 | |||
39 | |||
40 | 30 | ||
41 | /** | 31 | /** |
42 | * Context for all functions in this plugin. | 32 | * Context for all functions in this plugin. |
@@ -46,7 +36,7 @@ struct Plugin | |||
46 | /** | 36 | /** |
47 | * Our execution environment. | 37 | * Our execution environment. |
48 | */ | 38 | */ |
49 | struct GNUNET_DATASTORE_PluginEnvironment *env; | 39 | struct GNUNET_DATACACHE_PluginEnvironment *env; |
50 | }; | 40 | }; |
51 | 41 | ||
52 | 42 | ||