diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/psycstore | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/gnunet-service-psycstore.c | 2 | ||||
-rw-r--r-- | src/psycstore/plugin_psycstore_sqlite.c | 72 | ||||
-rw-r--r-- | src/psycstore/psycstore_api.c | 52 |
3 files changed, 63 insertions, 63 deletions
diff --git a/src/psycstore/gnunet-service-psycstore.c b/src/psycstore/gnunet-service-psycstore.c index 128bfd46c..a00d653b0 100644 --- a/src/psycstore/gnunet-service-psycstore.c +++ b/src/psycstore/gnunet-service-psycstore.c | |||
@@ -86,7 +86,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | 88 | ||
89 | /** | 89 | /** |
90 | * Send a result code back to the client. | 90 | * Send a result code back to the client. |
91 | * | 91 | * |
92 | * @param client Client that should receive the result code. | 92 | * @param client Client that should receive the result code. |
diff --git a/src/psycstore/plugin_psycstore_sqlite.c b/src/psycstore/plugin_psycstore_sqlite.c index 592eaf384..adc52c254 100644 --- a/src/psycstore/plugin_psycstore_sqlite.c +++ b/src/psycstore/plugin_psycstore_sqlite.c | |||
@@ -610,13 +610,13 @@ database_shutdown (struct Plugin *plugin) | |||
610 | GNUNET_free_non_null (plugin->fn); | 610 | GNUNET_free_non_null (plugin->fn); |
611 | } | 611 | } |
612 | 612 | ||
613 | /** | 613 | /** |
614 | * Execute a prepared statement with a @a channel_key argument. | 614 | * Execute a prepared statement with a @a channel_key argument. |
615 | * | 615 | * |
616 | * @param plugin Plugin handle. | 616 | * @param plugin Plugin handle. |
617 | * @param stmt Statement to execute. | 617 | * @param stmt Statement to execute. |
618 | * @param channel_key Public key of the channel. | 618 | * @param channel_key Public key of the channel. |
619 | * | 619 | * |
620 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 620 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
621 | */ | 621 | */ |
622 | static int | 622 | static int |
@@ -778,7 +778,7 @@ slave_key_store (struct Plugin *plugin, | |||
778 | } | 778 | } |
779 | 779 | ||
780 | 780 | ||
781 | /** | 781 | /** |
782 | * Store join/leave events for a PSYC channel in order to be able to answer | 782 | * Store join/leave events for a PSYC channel in order to be able to answer |
783 | * membership test queries later. | 783 | * membership test queries later. |
784 | * | 784 | * |
@@ -840,11 +840,11 @@ membership_store (void *cls, | |||
840 | return GNUNET_OK; | 840 | return GNUNET_OK; |
841 | } | 841 | } |
842 | 842 | ||
843 | /** | 843 | /** |
844 | * Test if a member was admitted to the channel at the given message ID. | 844 | * Test if a member was admitted to the channel at the given message ID. |
845 | * | 845 | * |
846 | * @see GNUNET_PSYCSTORE_membership_test() | 846 | * @see GNUNET_PSYCSTORE_membership_test() |
847 | * | 847 | * |
848 | * @return #GNUNET_YES if the member was admitted, #GNUNET_NO if not, | 848 | * @return #GNUNET_YES if the member was admitted, #GNUNET_NO if not, |
849 | * #GNUNET_SYSERR if there was en error. | 849 | * #GNUNET_SYSERR if there was en error. |
850 | */ | 850 | */ |
@@ -888,11 +888,11 @@ membership_test (void *cls, | |||
888 | return ret; | 888 | return ret; |
889 | } | 889 | } |
890 | 890 | ||
891 | /** | 891 | /** |
892 | * Store a message fragment sent to a channel. | 892 | * Store a message fragment sent to a channel. |
893 | * | 893 | * |
894 | * @see GNUNET_PSYCSTORE_fragment_store() | 894 | * @see GNUNET_PSYCSTORE_fragment_store() |
895 | * | 895 | * |
896 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 896 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
897 | */ | 897 | */ |
898 | static int | 898 | static int |
@@ -961,11 +961,11 @@ fragment_store (void *cls, | |||
961 | return GNUNET_OK; | 961 | return GNUNET_OK; |
962 | } | 962 | } |
963 | 963 | ||
964 | /** | 964 | /** |
965 | * Set additional flags for a given message. | 965 | * Set additional flags for a given message. |
966 | * | 966 | * |
967 | * They are OR'd with any existing flags set. | 967 | * They are OR'd with any existing flags set. |
968 | * | 968 | * |
969 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 969 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
970 | */ | 970 | */ |
971 | static int | 971 | static int |
@@ -1036,11 +1036,11 @@ fragment_row (sqlite3_stmt *stmt, GNUNET_PSYCSTORE_FragmentCallback cb, | |||
1036 | return cb (cb_cls, (void *) msg, sqlite3_column_int64 (stmt, 8)); | 1036 | return cb (cb_cls, (void *) msg, sqlite3_column_int64 (stmt, 8)); |
1037 | } | 1037 | } |
1038 | 1038 | ||
1039 | /** | 1039 | /** |
1040 | * Retrieve a message fragment by fragment ID. | 1040 | * Retrieve a message fragment by fragment ID. |
1041 | * | 1041 | * |
1042 | * @see GNUNET_PSYCSTORE_fragment_get() | 1042 | * @see GNUNET_PSYCSTORE_fragment_get() |
1043 | * | 1043 | * |
1044 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1044 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1045 | */ | 1045 | */ |
1046 | static int | 1046 | static int |
@@ -1087,11 +1087,11 @@ fragment_get (void *cls, | |||
1087 | return ret; | 1087 | return ret; |
1088 | } | 1088 | } |
1089 | 1089 | ||
1090 | /** | 1090 | /** |
1091 | * Retrieve all fragments of a message. | 1091 | * Retrieve all fragments of a message. |
1092 | * | 1092 | * |
1093 | * @see GNUNET_PSYCSTORE_message_get() | 1093 | * @see GNUNET_PSYCSTORE_message_get() |
1094 | * | 1094 | * |
1095 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1095 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1096 | */ | 1096 | */ |
1097 | static int | 1097 | static int |
@@ -1150,12 +1150,12 @@ message_get (void *cls, | |||
1150 | return ret; | 1150 | return ret; |
1151 | } | 1151 | } |
1152 | 1152 | ||
1153 | /** | 1153 | /** |
1154 | * Retrieve a fragment of message specified by its message ID and fragment | 1154 | * Retrieve a fragment of message specified by its message ID and fragment |
1155 | * offset. | 1155 | * offset. |
1156 | * | 1156 | * |
1157 | * @see GNUNET_PSYCSTORE_message_get_fragment() | 1157 | * @see GNUNET_PSYCSTORE_message_get_fragment() |
1158 | * | 1158 | * |
1159 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1159 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1160 | */ | 1160 | */ |
1161 | static int | 1161 | static int |
@@ -1204,11 +1204,11 @@ message_get_fragment (void *cls, | |||
1204 | return ret; | 1204 | return ret; |
1205 | } | 1205 | } |
1206 | 1206 | ||
1207 | /** | 1207 | /** |
1208 | * Retrieve the max. values of message counters for a channel. | 1208 | * Retrieve the max. values of message counters for a channel. |
1209 | * | 1209 | * |
1210 | * @see GNUNET_PSYCSTORE_counters_get() | 1210 | * @see GNUNET_PSYCSTORE_counters_get() |
1211 | * | 1211 | * |
1212 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1212 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1213 | */ | 1213 | */ |
1214 | static int | 1214 | static int |
@@ -1257,11 +1257,11 @@ counters_message_get (void *cls, | |||
1257 | return ret; | 1257 | return ret; |
1258 | } | 1258 | } |
1259 | 1259 | ||
1260 | /** | 1260 | /** |
1261 | * Retrieve the max. values of state counters for a channel. | 1261 | * Retrieve the max. values of state counters for a channel. |
1262 | * | 1262 | * |
1263 | * @see GNUNET_PSYCSTORE_counters_get() | 1263 | * @see GNUNET_PSYCSTORE_counters_get() |
1264 | * | 1264 | * |
1265 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1265 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1266 | */ | 1266 | */ |
1267 | static int | 1267 | static int |
@@ -1307,9 +1307,9 @@ counters_state_get (void *cls, | |||
1307 | } | 1307 | } |
1308 | 1308 | ||
1309 | 1309 | ||
1310 | /** | 1310 | /** |
1311 | * Set a state variable to the given value. | 1311 | * Set a state variable to the given value. |
1312 | * | 1312 | * |
1313 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1313 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1314 | */ | 1314 | */ |
1315 | static int | 1315 | static int |
@@ -1440,11 +1440,11 @@ state_modify_begin (void *cls, | |||
1440 | } | 1440 | } |
1441 | 1441 | ||
1442 | 1442 | ||
1443 | /** | 1443 | /** |
1444 | * Set the current value of state variable. | 1444 | * Set the current value of state variable. |
1445 | * | 1445 | * |
1446 | * @see GNUNET_PSYCSTORE_state_modify() | 1446 | * @see GNUNET_PSYCSTORE_state_modify() |
1447 | * | 1447 | * |
1448 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1448 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1449 | */ | 1449 | */ |
1450 | static int | 1450 | static int |
@@ -1494,11 +1494,11 @@ state_sync_begin (void *cls, | |||
1494 | } | 1494 | } |
1495 | 1495 | ||
1496 | 1496 | ||
1497 | /** | 1497 | /** |
1498 | * Set the current value of state variable. | 1498 | * Set the current value of state variable. |
1499 | * | 1499 | * |
1500 | * @see GNUNET_PSYCSTORE_state_modify() | 1500 | * @see GNUNET_PSYCSTORE_state_modify() |
1501 | * | 1501 | * |
1502 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1502 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1503 | */ | 1503 | */ |
1504 | static int | 1504 | static int |
@@ -1539,11 +1539,11 @@ state_sync_end (void *cls, | |||
1539 | } | 1539 | } |
1540 | 1540 | ||
1541 | 1541 | ||
1542 | /** | 1542 | /** |
1543 | * Reset the state of a channel. | 1543 | * Reset the state of a channel. |
1544 | * | 1544 | * |
1545 | * @see GNUNET_PSYCSTORE_state_reset() | 1545 | * @see GNUNET_PSYCSTORE_state_reset() |
1546 | * | 1546 | * |
1547 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1547 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1548 | */ | 1548 | */ |
1549 | static int | 1549 | static int |
@@ -1554,11 +1554,11 @@ state_reset (void *cls, const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key | |||
1554 | } | 1554 | } |
1555 | 1555 | ||
1556 | 1556 | ||
1557 | /** | 1557 | /** |
1558 | * Update signed values of state variables in the state store. | 1558 | * Update signed values of state variables in the state store. |
1559 | * | 1559 | * |
1560 | * @see GNUNET_PSYCSTORE_state_hash_update() | 1560 | * @see GNUNET_PSYCSTORE_state_hash_update() |
1561 | * | 1561 | * |
1562 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1562 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1563 | */ | 1563 | */ |
1564 | static int | 1564 | static int |
@@ -1570,11 +1570,11 @@ state_update_signed (void *cls, | |||
1570 | } | 1570 | } |
1571 | 1571 | ||
1572 | 1572 | ||
1573 | /** | 1573 | /** |
1574 | * Retrieve a state variable by name. | 1574 | * Retrieve a state variable by name. |
1575 | * | 1575 | * |
1576 | * @see GNUNET_PSYCSTORE_state_get() | 1576 | * @see GNUNET_PSYCSTORE_state_get() |
1577 | * | 1577 | * |
1578 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1578 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1579 | */ | 1579 | */ |
1580 | static int | 1580 | static int |
@@ -1621,11 +1621,11 @@ state_get (void *cls, const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | |||
1621 | } | 1621 | } |
1622 | 1622 | ||
1623 | 1623 | ||
1624 | /** | 1624 | /** |
1625 | * Retrieve all state variables for a channel with the given prefix. | 1625 | * Retrieve all state variables for a channel with the given prefix. |
1626 | * | 1626 | * |
1627 | * @see GNUNET_PSYCSTORE_state_get_prefix() | 1627 | * @see GNUNET_PSYCSTORE_state_get_prefix() |
1628 | * | 1628 | * |
1629 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1629 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1630 | */ | 1630 | */ |
1631 | static int | 1631 | static int |
@@ -1688,11 +1688,11 @@ state_get_prefix (void *cls, const struct GNUNET_CRYPTO_EccPublicSignKey *channe | |||
1688 | } | 1688 | } |
1689 | 1689 | ||
1690 | 1690 | ||
1691 | /** | 1691 | /** |
1692 | * Retrieve all signed state variables for a channel. | 1692 | * Retrieve all signed state variables for a channel. |
1693 | * | 1693 | * |
1694 | * @see GNUNET_PSYCSTORE_state_get_signed() | 1694 | * @see GNUNET_PSYCSTORE_state_get_signed() |
1695 | * | 1695 | * |
1696 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | 1696 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR |
1697 | */ | 1697 | */ |
1698 | static int | 1698 | static int |
@@ -1748,7 +1748,7 @@ state_get_signed (void *cls, | |||
1748 | } | 1748 | } |
1749 | 1749 | ||
1750 | 1750 | ||
1751 | /** | 1751 | /** |
1752 | * Entry point for the plugin. | 1752 | * Entry point for the plugin. |
1753 | * | 1753 | * |
1754 | * @param cls The struct GNUNET_CONFIGURATION_Handle. | 1754 | * @param cls The struct GNUNET_CONFIGURATION_Handle. |
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index 2b8c9305e..0e72d9ca2 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | typedef void (*DataCallback) (); | 38 | typedef void (*DataCallback) (); |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * Handle for an operation with the PSYCstore service. | 41 | * Handle for an operation with the PSYCstore service. |
42 | */ | 42 | */ |
43 | struct GNUNET_PSYCSTORE_OperationHandle | 43 | struct GNUNET_PSYCSTORE_OperationHandle |
@@ -162,9 +162,9 @@ get_next_op_id (struct GNUNET_PSYCSTORE_Handle *h) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | 164 | ||
165 | /** | 165 | /** |
166 | * Find operation by ID. | 166 | * Find operation by ID. |
167 | * | 167 | * |
168 | * @return OperationHandle if found, or NULL otherwise. | 168 | * @return OperationHandle if found, or NULL otherwise. |
169 | */ | 169 | */ |
170 | static struct GNUNET_PSYCSTORE_OperationHandle * | 170 | static struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -634,7 +634,7 @@ GNUNET_PSYCSTORE_operation_cancel (struct GNUNET_PSYCSTORE_OperationHandle *op) | |||
634 | } | 634 | } |
635 | 635 | ||
636 | 636 | ||
637 | /** | 637 | /** |
638 | * Store join/leave events for a PSYC channel in order to be able to answer | 638 | * Store join/leave events for a PSYC channel in order to be able to answer |
639 | * membership test queries later. | 639 | * membership test queries later. |
640 | * | 640 | * |
@@ -699,7 +699,7 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
699 | } | 699 | } |
700 | 700 | ||
701 | 701 | ||
702 | /** | 702 | /** |
703 | * Test if a member was admitted to the channel at the given message ID. | 703 | * Test if a member was admitted to the channel at the given message ID. |
704 | * | 704 | * |
705 | * This is useful when relaying and replaying messages to check if a particular | 705 | * This is useful when relaying and replaying messages to check if a particular |
@@ -754,7 +754,7 @@ GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, | |||
754 | } | 754 | } |
755 | 755 | ||
756 | 756 | ||
757 | /** | 757 | /** |
758 | * Store a message fragment sent to a channel. | 758 | * Store a message fragment sent to a channel. |
759 | * | 759 | * |
760 | * @param h Handle for the PSYCstore. | 760 | * @param h Handle for the PSYCstore. |
@@ -764,7 +764,7 @@ GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, | |||
764 | * state modifiers. | 764 | * state modifiers. |
765 | * @param rcb Callback to call with the result of the operation. | 765 | * @param rcb Callback to call with the result of the operation. |
766 | * @param rcb_cls Closure for the callback. | 766 | * @param rcb_cls Closure for the callback. |
767 | * | 767 | * |
768 | * @return Handle that can be used to cancel the operation. | 768 | * @return Handle that can be used to cancel the operation. |
769 | */ | 769 | */ |
770 | struct GNUNET_PSYCSTORE_OperationHandle * | 770 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -801,7 +801,7 @@ GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
801 | } | 801 | } |
802 | 802 | ||
803 | 803 | ||
804 | /** | 804 | /** |
805 | * Retrieve a message fragment by fragment ID. | 805 | * Retrieve a message fragment by fragment ID. |
806 | * | 806 | * |
807 | * @param h Handle for the PSYCstore. | 807 | * @param h Handle for the PSYCstore. |
@@ -810,7 +810,7 @@ GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
810 | * @param fcb Callback to call with the retrieved fragments. | 810 | * @param fcb Callback to call with the retrieved fragments. |
811 | * @param rcb Callback to call with the result of the operation. | 811 | * @param rcb Callback to call with the result of the operation. |
812 | * @param cls Closure for the callbacks. | 812 | * @param cls Closure for the callbacks. |
813 | * | 813 | * |
814 | * @return Handle that can be used to cancel the operation. | 814 | * @return Handle that can be used to cancel the operation. |
815 | */ | 815 | */ |
816 | struct GNUNET_PSYCSTORE_OperationHandle * | 816 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -846,7 +846,7 @@ GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
846 | } | 846 | } |
847 | 847 | ||
848 | 848 | ||
849 | /** | 849 | /** |
850 | * Retrieve all fragments of a message. | 850 | * Retrieve all fragments of a message. |
851 | * | 851 | * |
852 | * @param h Handle for the PSYCstore. | 852 | * @param h Handle for the PSYCstore. |
@@ -855,7 +855,7 @@ GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
855 | * @param fcb Callback to call with the retrieved fragments. | 855 | * @param fcb Callback to call with the retrieved fragments. |
856 | * @param rcb Callback to call with the result of the operation. | 856 | * @param rcb Callback to call with the result of the operation. |
857 | * @param cls Closure for the callbacks. | 857 | * @param cls Closure for the callbacks. |
858 | * | 858 | * |
859 | * @return Handle that can be used to cancel the operation. | 859 | * @return Handle that can be used to cancel the operation. |
860 | */ | 860 | */ |
861 | struct GNUNET_PSYCSTORE_OperationHandle * | 861 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -891,7 +891,7 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
891 | } | 891 | } |
892 | 892 | ||
893 | 893 | ||
894 | /** | 894 | /** |
895 | * Retrieve a fragment of message specified by its message ID and fragment | 895 | * Retrieve a fragment of message specified by its message ID and fragment |
896 | * offset. | 896 | * offset. |
897 | * | 897 | * |
@@ -902,7 +902,7 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
902 | * @param fcb Callback to call with the retrieved fragments. | 902 | * @param fcb Callback to call with the retrieved fragments. |
903 | * @param rcb Callback to call with the result of the operation. | 903 | * @param rcb Callback to call with the result of the operation. |
904 | * @param cls Closure for the callbacks. | 904 | * @param cls Closure for the callbacks. |
905 | * | 905 | * |
906 | * @return Handle that can be used to cancel the operation. | 906 | * @return Handle that can be used to cancel the operation. |
907 | */ | 907 | */ |
908 | struct GNUNET_PSYCSTORE_OperationHandle * | 908 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -940,7 +940,7 @@ GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h, | |||
940 | } | 940 | } |
941 | 941 | ||
942 | 942 | ||
943 | /** | 943 | /** |
944 | * Retrieve latest values of counters for a channel master. | 944 | * Retrieve latest values of counters for a channel master. |
945 | * | 945 | * |
946 | * The current value of counters are needed when a channel master is restarted, | 946 | * The current value of counters are needed when a channel master is restarted, |
@@ -950,7 +950,7 @@ GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h, | |||
950 | * @param channel_key Public key that identifies the channel. | 950 | * @param channel_key Public key that identifies the channel. |
951 | * @param mccb Callback to call with the result. | 951 | * @param mccb Callback to call with the result. |
952 | * @param mccb_cls Closure for the callback. | 952 | * @param mccb_cls Closure for the callback. |
953 | * | 953 | * |
954 | * @return Handle that can be used to cancel the operation. | 954 | * @return Handle that can be used to cancel the operation. |
955 | */ | 955 | */ |
956 | struct GNUNET_PSYCSTORE_OperationHandle * | 956 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -982,7 +982,7 @@ GNUNET_PSYCSTORE_counters_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
982 | } | 982 | } |
983 | 983 | ||
984 | 984 | ||
985 | /** | 985 | /** |
986 | * Apply modifiers of a message to the current channel state. | 986 | * Apply modifiers of a message to the current channel state. |
987 | * | 987 | * |
988 | * An error is returned if there are missing messages containing state | 988 | * An error is returned if there are missing messages containing state |
@@ -996,7 +996,7 @@ GNUNET_PSYCSTORE_counters_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
996 | * @param modifiers List of modifiers to apply. | 996 | * @param modifiers List of modifiers to apply. |
997 | * @param rcb Callback to call with the result of the operation. | 997 | * @param rcb Callback to call with the result of the operation. |
998 | * @param rcb_cls Closure for the callback. | 998 | * @param rcb_cls Closure for the callback. |
999 | * | 999 | * |
1000 | * @return Handle that can be used to cancel the operation. | 1000 | * @return Handle that can be used to cancel the operation. |
1001 | */ | 1001 | */ |
1002 | struct GNUNET_PSYCSTORE_OperationHandle * | 1002 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -1055,7 +1055,7 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | |||
1055 | } | 1055 | } |
1056 | 1056 | ||
1057 | 1057 | ||
1058 | /** | 1058 | /** |
1059 | * Store synchronized state. | 1059 | * Store synchronized state. |
1060 | * | 1060 | * |
1061 | * @param h Handle for the PSYCstore. | 1061 | * @param h Handle for the PSYCstore. |
@@ -1065,7 +1065,7 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | |||
1065 | * @param modifiers Full state to store. | 1065 | * @param modifiers Full state to store. |
1066 | * @param rcb Callback to call with the result of the operation. | 1066 | * @param rcb Callback to call with the result of the operation. |
1067 | * @param rcb_cls Closure for the callback. | 1067 | * @param rcb_cls Closure for the callback. |
1068 | * | 1068 | * |
1069 | * @return Handle that can be used to cancel the operation. | 1069 | * @return Handle that can be used to cancel the operation. |
1070 | */ | 1070 | */ |
1071 | struct GNUNET_PSYCSTORE_OperationHandle * | 1071 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -1118,7 +1118,7 @@ GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h, | |||
1118 | } | 1118 | } |
1119 | 1119 | ||
1120 | 1120 | ||
1121 | /** | 1121 | /** |
1122 | * Reset the state of a channel. | 1122 | * Reset the state of a channel. |
1123 | * | 1123 | * |
1124 | * Delete all state variables stored for the given channel. | 1124 | * Delete all state variables stored for the given channel. |
@@ -1127,7 +1127,7 @@ GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h, | |||
1127 | * @param channel_key The channel we are interested in. | 1127 | * @param channel_key The channel we are interested in. |
1128 | * @param rcb Callback to call with the result of the operation. | 1128 | * @param rcb Callback to call with the result of the operation. |
1129 | * @param rcb_cls Closure for the callback. | 1129 | * @param rcb_cls Closure for the callback. |
1130 | * | 1130 | * |
1131 | * @return Handle that can be used to cancel the operation. | 1131 | * @return Handle that can be used to cancel the operation. |
1132 | */ | 1132 | */ |
1133 | struct GNUNET_PSYCSTORE_OperationHandle * | 1133 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -1161,7 +1161,7 @@ GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h, | |||
1161 | 1161 | ||
1162 | 1162 | ||
1163 | 1163 | ||
1164 | /** | 1164 | /** |
1165 | * Update signed values of state variables in the state store. | 1165 | * Update signed values of state variables in the state store. |
1166 | * | 1166 | * |
1167 | * @param h Handle for the PSYCstore. | 1167 | * @param h Handle for the PSYCstore. |
@@ -1204,7 +1204,7 @@ GNUNET_PSYCSTORE_state_hash_update (struct GNUNET_PSYCSTORE_Handle *h, | |||
1204 | } | 1204 | } |
1205 | 1205 | ||
1206 | 1206 | ||
1207 | /** | 1207 | /** |
1208 | * Retrieve the best matching state variable. | 1208 | * Retrieve the best matching state variable. |
1209 | * | 1209 | * |
1210 | * @param h Handle for the PSYCstore. | 1210 | * @param h Handle for the PSYCstore. |
@@ -1213,7 +1213,7 @@ GNUNET_PSYCSTORE_state_hash_update (struct GNUNET_PSYCSTORE_Handle *h, | |||
1213 | * @param scb Callback to return the matching state variable. | 1213 | * @param scb Callback to return the matching state variable. |
1214 | * @param rcb Callback to call with the result of the operation. | 1214 | * @param rcb Callback to call with the result of the operation. |
1215 | * @param cls Closure for the callbacks. | 1215 | * @param cls Closure for the callbacks. |
1216 | * | 1216 | * |
1217 | * @return Handle that can be used to cancel the operation. | 1217 | * @return Handle that can be used to cancel the operation. |
1218 | */ | 1218 | */ |
1219 | struct GNUNET_PSYCSTORE_OperationHandle * | 1219 | struct GNUNET_PSYCSTORE_OperationHandle * |
@@ -1251,7 +1251,7 @@ GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
1251 | 1251 | ||
1252 | 1252 | ||
1253 | 1253 | ||
1254 | /** | 1254 | /** |
1255 | * Retrieve all state variables for a channel with the given prefix. | 1255 | * Retrieve all state variables for a channel with the given prefix. |
1256 | * | 1256 | * |
1257 | * @param h Handle for the PSYCstore. | 1257 | * @param h Handle for the PSYCstore. |
@@ -1260,7 +1260,7 @@ GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
1260 | * @param scb Callback to return matching state variables. | 1260 | * @param scb Callback to return matching state variables. |
1261 | * @param rcb Callback to call with the result of the operation. | 1261 | * @param rcb Callback to call with the result of the operation. |
1262 | * @param cls Closure for the callbacks. | 1262 | * @param cls Closure for the callbacks. |
1263 | * | 1263 | * |
1264 | * @return Handle that can be used to cancel the operation. | 1264 | * @return Handle that can be used to cancel the operation. |
1265 | */ | 1265 | */ |
1266 | struct GNUNET_PSYCSTORE_OperationHandle * | 1266 | struct GNUNET_PSYCSTORE_OperationHandle * |