diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-09-11 11:26:42 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-09-11 11:26:42 +0000 |
commit | fa93592fda5d9bbda3325e60cce0efc516555ef5 (patch) | |
tree | 493c44dae4e15c28db8e349e07d3c416b3340e0c /src/datacache/plugin_datacache_sqlite.c | |
parent | 3ac6ca99c483ad150526aaaf2d2d1e89945f87d3 (diff) |
fixing docu issues
git-svn-id: https://gnunet.org/svn/gnunet@8979 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datacache/plugin_datacache_sqlite.c')
-rw-r--r-- | src/datacache/plugin_datacache_sqlite.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c index e8ef5cd098..7595211c10 100644 --- a/src/datacache/plugin_datacache_sqlite.c +++ b/src/datacache/plugin_datacache_sqlite.c @@ -86,6 +86,7 @@ sq_prepare (sqlite3 * dbh, const char *zSql, /* SQL statement, UTF-8 encoded /** * Store an item in the datastore. * + * @param cls closure (our "struct Plugin") * @param key key to store data under * @param size number of bytes in data * @param data data to store @@ -155,9 +156,11 @@ sqlite_plugin_put (void *cls, * Iterate over the results for a particular key * in the datastore. * + * @param cls closure (our "struct Plugin") * @param key * @param type entries of which type are relevant? * @param iter maybe NULL (to just count) + * @param iter_cls closure for iter * @return the number of results found */ static unsigned int @@ -259,6 +262,7 @@ sqlite_plugin_get (void *cls, * Delete the entry with the lowest expiration value * from the datacache right now. * + * @param cls closure (our "struct Plugin") * @return GNUNET_OK on success, GNUNET_SYSERR on error */ static int @@ -337,6 +341,9 @@ sqlite_plugin_del (void *cls) /** * Entry point for the plugin. + * + * @param cls closure (the "struct GNUNET_DATACACHE_PluginEnvironmnet") + * @return the plugin's closure (our "struct Plugin") */ void * libgnunet_plugin_datacache_sqlite_init (void *cls) @@ -398,6 +405,9 @@ libgnunet_plugin_datacache_sqlite_init (void *cls) /** * Exit point from the plugin. + * + * @param cls closure (our "struct Plugin") + * @return NULL */ void * libgnunet_plugin_datacache_sqlite_done (void *cls) |