diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-13 19:21:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-13 19:21:39 +0000 |
commit | 18db9a2fc6584fe35b327650534cf0672f4686e7 (patch) | |
tree | 8ad5dcec557b5470dded775edd705bbac0f75a18 /src/datastore/plugin_datastore_postgres.c | |
parent | 56b9555f0608da28c2e3833f06abfb126b053d76 (diff) | |
download | gnunet-18db9a2fc6584fe35b327650534cf0672f4686e7.tar.gz gnunet-18db9a2fc6584fe35b327650534cf0672f4686e7.zip |
doxygen
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index 9d60100cf..115259dbf 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -529,6 +529,7 @@ postgres_plugin_put (void *cls, | |||
529 | * @param proc function to call the value (once only). | 529 | * @param proc function to call the value (once only). |
530 | * @param proc_cls closure for proc | 530 | * @param proc_cls closure for proc |
531 | * @param res result from exec | 531 | * @param res result from exec |
532 | * @param line line number for error messages | ||
532 | */ | 533 | */ |
533 | static void | 534 | static void |
534 | process_result (struct Plugin *plugin, | 535 | process_result (struct Plugin *plugin, |
@@ -663,6 +664,8 @@ process_result (struct Plugin *plugin, | |||
663 | * in the datastore. | 664 | * in the datastore. |
664 | * | 665 | * |
665 | * @param cls closure | 666 | * @param cls closure |
667 | * @param offset offset of the result (modulo num-results); | ||
668 | * specific ordering does not matter for the offset | ||
666 | * @param key maybe NULL (to match all entries) | 669 | * @param key maybe NULL (to match all entries) |
667 | * @param vhash hash of the value, maybe NULL (to | 670 | * @param vhash hash of the value, maybe NULL (to |
668 | * match all values that have the right key). | 671 | * match all values that have the right key). |
@@ -671,9 +674,9 @@ process_result (struct Plugin *plugin, | |||
671 | * there may be! | 674 | * there may be! |
672 | * @param type entries of which type are relevant? | 675 | * @param type entries of which type are relevant? |
673 | * Use 0 for any type. | 676 | * Use 0 for any type. |
674 | * @param iter function to call on each matching value; | 677 | * @param proc function to call on the matching value; |
675 | * will be called once with a NULL value at the end | 678 | * will be called once with a NULL if no value matches |
676 | * @param iter_cls closure for iter | 679 | * @param proc_cls closure for iter |
677 | */ | 680 | */ |
678 | static void | 681 | static void |
679 | postgres_plugin_get_key (void *cls, | 682 | postgres_plugin_get_key (void *cls, |
@@ -820,9 +823,9 @@ postgres_plugin_get_key (void *cls, | |||
820 | * @param cls our "struct Plugin*" | 823 | * @param cls our "struct Plugin*" |
821 | * @param type entries of which type should be considered? | 824 | * @param type entries of which type should be considered? |
822 | * Use 0 for any type. | 825 | * Use 0 for any type. |
823 | * @param iter function to call on each matching value; | 826 | * @param proc function to call on the matching value; |
824 | * will be called once with a NULL value at the end | 827 | * will be called with a NULL if no value matches |
825 | * @param iter_cls closure for iter | 828 | * @param proc_cls closure for proc |
826 | */ | 829 | */ |
827 | static void | 830 | static void |
828 | postgres_plugin_get_zero_anonymity (void *cls, | 831 | postgres_plugin_get_zero_anonymity (void *cls, |
@@ -951,7 +954,7 @@ repl_proc (void *cls, | |||
951 | * | 954 | * |
952 | * @param cls closure | 955 | * @param cls closure |
953 | * @param proc function to call the value (once only). | 956 | * @param proc function to call the value (once only). |
954 | * @param proc_cls closure for iter | 957 | * @param proc_cls closure for proc |
955 | */ | 958 | */ |
956 | static void | 959 | static void |
957 | postgres_plugin_get_replication (void *cls, | 960 | postgres_plugin_get_replication (void *cls, |
@@ -976,11 +979,11 @@ postgres_plugin_get_replication (void *cls, | |||
976 | 979 | ||
977 | /** | 980 | /** |
978 | * Get a random item for expiration. | 981 | * Get a random item for expiration. |
979 | * Call 'iter' with all values ZERO or NULL if the datastore is empty. | 982 | * Call 'proc' with all values ZERO or NULL if the datastore is empty. |
980 | * | 983 | * |
981 | * @param cls closure | 984 | * @param cls closure |
982 | * @param proc function to call the value (once only). | 985 | * @param proc function to call the value (once only). |
983 | * @param proc_cls closure for iter | 986 | * @param proc_cls closure for proc |
984 | */ | 987 | */ |
985 | static void | 988 | static void |
986 | postgres_plugin_get_expiration (void *cls, | 989 | postgres_plugin_get_expiration (void *cls, |