diff options
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index f2164ab17..5c7f75d5e 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -253,7 +253,7 @@ postgres_plugin_estimate_size (void *cls) | |||
253 | /** | 253 | /** |
254 | * Store an item in the datastore. | 254 | * Store an item in the datastore. |
255 | * | 255 | * |
256 | * @param cls closure | 256 | * @param cls closure with the 'struct Plugin' |
257 | * @param key key for the item | 257 | * @param key key for the item |
258 | * @param size number of bytes in data | 258 | * @param size number of bytes in data |
259 | * @param data content stored | 259 | * @param data content stored |
@@ -436,7 +436,7 @@ process_result (struct Plugin *plugin, PluginDatumProcessor proc, | |||
436 | * Iterate over the results for a particular key | 436 | * Iterate over the results for a particular key |
437 | * in the datastore. | 437 | * in the datastore. |
438 | * | 438 | * |
439 | * @param cls closure | 439 | * @param cls closure with the 'struct Plugin' |
440 | * @param offset offset of the result (modulo num-results); | 440 | * @param offset offset of the result (modulo num-results); |
441 | * specific ordering does not matter for the offset | 441 | * specific ordering does not matter for the offset |
442 | * @param key maybe NULL (to match all entries) | 442 | * @param key maybe NULL (to match all entries) |
@@ -622,7 +622,7 @@ struct ReplCtx | |||
622 | * Decrements the replication counter and calls the original | 622 | * Decrements the replication counter and calls the original |
623 | * iterator. | 623 | * iterator. |
624 | * | 624 | * |
625 | * @param cls closure | 625 | * @param cls closure with the 'struct ReplCtx*' |
626 | * @param key key for the content | 626 | * @param key key for the content |
627 | * @param size number of bytes in data | 627 | * @param size number of bytes in data |
628 | * @param data content stored | 628 | * @param data content stored |
@@ -681,7 +681,7 @@ repl_proc (void *cls, const GNUNET_HashCode * key, uint32_t size, | |||
681 | * replication counter is decremented by one IF it was positive before. | 681 | * replication counter is decremented by one IF it was positive before. |
682 | * Call 'proc' with all values ZERO or NULL if the datastore is empty. | 682 | * Call 'proc' with all values ZERO or NULL if the datastore is empty. |
683 | * | 683 | * |
684 | * @param cls closure | 684 | * @param cls closure with the 'struct Plugin' |
685 | * @param proc function to call the value (once only). | 685 | * @param proc function to call the value (once only). |
686 | * @param proc_cls closure for proc | 686 | * @param proc_cls closure for proc |
687 | */ | 687 | */ |
@@ -707,7 +707,7 @@ postgres_plugin_get_replication (void *cls, PluginDatumProcessor proc, | |||
707 | * Get a random item for expiration. | 707 | * Get a random item for expiration. |
708 | * Call 'proc' with all values ZERO or NULL if the datastore is empty. | 708 | * Call 'proc' with all values ZERO or NULL if the datastore is empty. |
709 | * | 709 | * |
710 | * @param cls closure | 710 | * @param cls closure with the 'struct Plugin' |
711 | * @param proc function to call the value (once only). | 711 | * @param proc function to call the value (once only). |
712 | * @param proc_cls closure for proc | 712 | * @param proc_cls closure for proc |
713 | */ | 713 | */ |
@@ -790,7 +790,7 @@ postgres_plugin_update (void *cls, uint64_t uid, int delta, | |||
790 | /** | 790 | /** |
791 | * Get all of the keys in the datastore. | 791 | * Get all of the keys in the datastore. |
792 | * | 792 | * |
793 | * @param cls closure | 793 | * @param cls closure with the 'struct Plugin' |
794 | * @param proc function to call on each key | 794 | * @param proc function to call on each key |
795 | * @param proc_cls closure for proc | 795 | * @param proc_cls closure for proc |
796 | */ | 796 | */ |
@@ -822,6 +822,8 @@ postgres_plugin_get_keys (void *cls, | |||
822 | 822 | ||
823 | /** | 823 | /** |
824 | * Drop database. | 824 | * Drop database. |
825 | * | ||
826 | * @param cls closure with the 'struct Plugin' | ||
825 | */ | 827 | */ |
826 | static void | 828 | static void |
827 | postgres_plugin_drop (void *cls) | 829 | postgres_plugin_drop (void *cls) |