diff options
author | Gabor X Toth <*@tg-x.net> | 2013-07-15 07:54:16 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-07-15 07:54:16 +0000 |
commit | d6e993f8abf50bd8d9b637e0fad3b74e71a1850b (patch) | |
tree | 7df97bf55a526f835ef34d0741031aa3159eaf83 | |
parent | 0c4e64676857a0963d74588c0a20e5a54892fb67 (diff) | |
download | gnunet-d6e993f8abf50bd8d9b637e0fad3b74e71a1850b.tar.gz gnunet-d6e993f8abf50bd8d9b637e0fad3b74e71a1850b.zip |
env: doc; spaces
-rw-r--r-- | src/include/gnunet_env_lib.h | 30 | ||||
-rw-r--r-- | src/include/gnunet_multicast_service.h | 20 | ||||
-rw-r--r-- | src/include/gnunet_psyc_service.h | 42 | ||||
-rw-r--r-- | src/include/gnunet_psycstore_service.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_social_service.h | 6 |
5 files changed, 50 insertions, 50 deletions
diff --git a/src/include/gnunet_env_lib.h b/src/include/gnunet_env_lib.h index ae2e3e1f1..49d092a8f 100644 --- a/src/include/gnunet_env_lib.h +++ b/src/include/gnunet_env_lib.h | |||
@@ -30,34 +30,34 @@ | |||
30 | * Possible operations on PSYC state (persistent) and transient variables (per message). | 30 | * Possible operations on PSYC state (persistent) and transient variables (per message). |
31 | */ | 31 | */ |
32 | enum GNUNET_ENV_Operator | 32 | enum GNUNET_ENV_Operator |
33 | { | 33 | { |
34 | /** | 34 | /** |
35 | * Set value of a transient variable. | 35 | * Set value of a transient variable. |
36 | */ | 36 | */ |
37 | GNUNET_ENV_OP_SET = ':', | 37 | GNUNET_ENV_OP_SET = ':', |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * Assign value for a persistent state variable. | 40 | * Assign value for a persistent state variable. |
41 | * | 41 | * |
42 | * If an assigned value is NULL, the variable is deleted. | 42 | * If an assigned value is NULL, the variable is deleted. |
43 | */ | 43 | */ |
44 | GNUNET_ENV_OP_ASSIGN = '=', | 44 | GNUNET_ENV_OP_ASSIGN = '=', |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * Augment state variable. | 47 | * Augment state variable. |
48 | * | 48 | * |
49 | * Used for appending strings, adding numbers, and adding new items to a list or dictionary. | 49 | * Used for appending strings, adding numbers, and adding new items to a list or dictionary. |
50 | */ | 50 | */ |
51 | GNUNET_ENV_OP_AUGMENT = '+', | 51 | GNUNET_ENV_OP_AUGMENT = '+', |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Diminish state variable. | 54 | * Diminish state variable. |
55 | * | 55 | * |
56 | * Used for subtracting numbers, and removing items from a list or dictionary. | 56 | * Used for subtracting numbers, and removing items from a list or dictionary. |
57 | */ | 57 | */ |
58 | GNUNET_ENV_OP_DIMINISH = '-', | 58 | GNUNET_ENV_OP_DIMINISH = '-', |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * Update state variable. | 61 | * Update state variable. |
62 | * | 62 | * |
63 | * Used for modifying a single item of a list or dictionary. | 63 | * Used for modifying a single item of a list or dictionary. |
@@ -66,7 +66,7 @@ enum GNUNET_ENV_Operator | |||
66 | }; | 66 | }; |
67 | 67 | ||
68 | 68 | ||
69 | /** | 69 | /** |
70 | * PSYC variable types. | 70 | * PSYC variable types. |
71 | */ | 71 | */ |
72 | enum GNUNET_ENV_Type | 72 | enum GNUNET_ENV_Type |
@@ -78,33 +78,33 @@ enum GNUNET_ENV_Type | |||
78 | }; | 78 | }; |
79 | 79 | ||
80 | 80 | ||
81 | /** | 81 | /** |
82 | * PSYC state modifier. | 82 | * PSYC state modifier. |
83 | */ | 83 | */ |
84 | struct GNUNET_ENV_Modifier { | 84 | struct GNUNET_ENV_Modifier { |
85 | /** | 85 | /** |
86 | * State operation. | 86 | * State operation. |
87 | */ | 87 | */ |
88 | GNUNET_ENV_Operator oper; | 88 | GNUNET_ENV_Operator oper; |
89 | 89 | ||
90 | /** | 90 | /** |
91 | * Variable name. | 91 | * Variable name. |
92 | */ | 92 | */ |
93 | const char *name; | 93 | const char *name; |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * Size of @a value. | 96 | * Size of @a value. |
97 | */ | 97 | */ |
98 | size_t value_size; | 98 | size_t value_size; |
99 | 99 | ||
100 | /** | 100 | /** |
101 | * Value of variable. | 101 | * Value of variable. |
102 | */ | 102 | */ |
103 | const void *value; | 103 | const void *value; |
104 | }; | 104 | }; |
105 | 105 | ||
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Environment for a message. | 108 | * Environment for a message. |
109 | * | 109 | * |
110 | * Contains modifiers. | 110 | * Contains modifiers. |
@@ -159,7 +159,7 @@ GNUNET_ENV_environment_get_modifiers (const struct GNUNET_ENV_Environment *env, | |||
159 | * @param modifiers_length Number of @a modifiers. | 159 | * @param modifiers_length Number of @a modifiers. |
160 | * @param modifiers Array of modifiers to add. | 160 | * @param modifiers Array of modifiers to add. |
161 | * | 161 | * |
162 | * @return | 162 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error. |
163 | */ | 163 | */ |
164 | int | 164 | int |
165 | GNUNET_ENV_environment_set_modifiers (const struct GNUNET_ENV_Environment *env, | 165 | GNUNET_ENV_environment_set_modifiers (const struct GNUNET_ENV_Environment *env, |
@@ -192,7 +192,7 @@ GNUNET_ENV_var_get_type (char *name); | |||
192 | * | 192 | * |
193 | * @param size Size of value. | 193 | * @param size Size of value. |
194 | * @param value Raw value of variable. | 194 | * @param value Raw value of variable. |
195 | * @param[out] number Value converted to a 64-bit integer. | 195 | * @param[out] number Value converted to a 64-bit integer. |
196 | * | 196 | * |
197 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g. the value is invalid). | 197 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g. the value is invalid). |
198 | */ | 198 | */ |
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index 5803f551e..5a9c99c30 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -60,7 +60,7 @@ struct GNUNET_MULTICAST_Origin; | |||
60 | */ | 60 | */ |
61 | enum GNUNET_MULTICAST_JoinPolicy | 61 | enum GNUNET_MULTICAST_JoinPolicy |
62 | { | 62 | { |
63 | /** | 63 | /** |
64 | * Anyone can join the group, without announcing his presence; | 64 | * Anyone can join the group, without announcing his presence; |
65 | * all messages are always public and can be distributed freely. | 65 | * all messages are always public and can be distributed freely. |
66 | * Joins may be announced, but this is not required. | 66 | * Joins may be announced, but this is not required. |
@@ -447,12 +447,12 @@ enum GNUNET_MULTICAST_ReplayErrorCode | |||
447 | 447 | ||
448 | /** | 448 | /** |
449 | * Everything is fine. | 449 | * Everything is fine. |
450 | */ | 450 | */ |
451 | GNUNET_MULTICAST_REC_OK = 0, | 451 | GNUNET_MULTICAST_REC_OK = 0, |
452 | 452 | ||
453 | /** | 453 | /** |
454 | * Message fragment has been discarded (likely transient message that was too old). | 454 | * Message fragment has been discarded (likely transient message that was too old). |
455 | */ | 455 | */ |
456 | GNUNET_MULTICAST_REC_TRANSIENT_LOST = 1, | 456 | GNUNET_MULTICAST_REC_TRANSIENT_LOST = 1, |
457 | 457 | ||
458 | /** | 458 | /** |
@@ -460,12 +460,12 @@ enum GNUNET_MULTICAST_ReplayErrorCode | |||
460 | * replay function has ever encountered; thus it is likely the | 460 | * replay function has ever encountered; thus it is likely the |
461 | * origin never sent it and we're at the HEAD of the multicast | 461 | * origin never sent it and we're at the HEAD of the multicast |
462 | * stream as far as this node is concerned. | 462 | * stream as far as this node is concerned. |
463 | */ | 463 | */ |
464 | GNUNET_MULTICAST_REC_PAST_HEAD = 2, | 464 | GNUNET_MULTICAST_REC_PAST_HEAD = 2, |
465 | 465 | ||
466 | /** | 466 | /** |
467 | * Internal error (i.e. database error). Try some other peer. | 467 | * Internal error (i.e. database error). Try some other peer. |
468 | */ | 468 | */ |
469 | GNUNET_MULTICAST_REC_INTERNAL_ERROR = 3 | 469 | GNUNET_MULTICAST_REC_INTERNAL_ERROR = 3 |
470 | 470 | ||
471 | }; | 471 | }; |
@@ -511,7 +511,7 @@ GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh, | |||
511 | * @return Handle for the origin, NULL on error. | 511 | * @return Handle for the origin, NULL on error. |
512 | */ | 512 | */ |
513 | struct GNUNET_MULTICAST_Origin * | 513 | struct GNUNET_MULTICAST_Origin * |
514 | GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | 514 | GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
515 | void *cls, | 515 | void *cls, |
516 | const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, | 516 | const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, |
517 | enum GNUNET_MULTICAST_JoinPolicy join_policy, | 517 | enum GNUNET_MULTICAST_JoinPolicy join_policy, |
@@ -591,18 +591,18 @@ GNUNET_MULTICAST_origin_end (struct GNUNET_MULTICAST_Origin *origin); | |||
591 | * this peer already knows from this group; NULL if this | 591 | * this peer already knows from this group; NULL if this |
592 | * client is unable to support replay. | 592 | * client is unable to support replay. |
593 | * @param test_cb Function multicast can use to test group membership. | 593 | * @param test_cb Function multicast can use to test group membership. |
594 | * @param message_cb Function to be called for all message fragments we | 594 | * @param message_cb Function to be called for all message fragments we |
595 | * receive from the group, excluding those our @a replay_cb | 595 | * receive from the group, excluding those our @a replay_cb |
596 | * already has. | 596 | * already has. |
597 | * @param cls Closure for callbacks. | 597 | * @param cls Closure for callbacks. |
598 | * @param join_req Application-dependent join message to be passed to origin | 598 | * @param join_req Application-dependent join message to be passed to origin |
599 | * (might, for example, contain a user | 599 | * (might, for example, contain a user |
600 | * bind user identity/pseudonym to peer identity, application-level | 600 | * bind user identity/pseudonym to peer identity, application-level |
601 | * message to origin, etc.). | 601 | * message to origin, etc.). |
602 | * @return Handle for the member, NULL on error. | 602 | * @return Handle for the member, NULL on error. |
603 | */ | 603 | */ |
604 | struct GNUNET_MULTICAST_Member * | 604 | struct GNUNET_MULTICAST_Member * |
605 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | 605 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, |
606 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, | 606 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, |
607 | const struct GNUNET_PeerIdentity *origin, | 607 | const struct GNUNET_PeerIdentity *origin, |
608 | uint64_t max_known_fragment_id, | 608 | uint64_t max_known_fragment_id, |
@@ -664,7 +664,7 @@ struct GNUNET_MULTICAST_MemberRequestHandle; | |||
664 | 664 | ||
665 | 665 | ||
666 | /** | 666 | /** |
667 | * Send a message to the origin of the multicast group. | 667 | * Send a message to the origin of the multicast group. |
668 | * | 668 | * |
669 | * @param member Membership handle. | 669 | * @param member Membership handle. |
670 | * @param size Number of bytes we want to send to origin. | 670 | * @param size Number of bytes we want to send to origin. |
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h index 32f0677da..9354d81e9 100644 --- a/src/include/gnunet_psyc_service.h +++ b/src/include/gnunet_psyc_service.h | |||
@@ -33,21 +33,21 @@ | |||
33 | * NOTE: | 33 | * NOTE: |
34 | * - this API does not know about psyc's "root" and "places"; | 34 | * - this API does not know about psyc's "root" and "places"; |
35 | * there is no 'root' in GNUnet-Psyc as we're decentralized; | 35 | * there is no 'root' in GNUnet-Psyc as we're decentralized; |
36 | * 'places' and 'persons' are combined within the same | 36 | * 'places' and 'persons' are combined within the same |
37 | * abstraction, that of a "channel". Channels are identified | 37 | * abstraction, that of a "channel". Channels are identified |
38 | * and accessed in this API using a public/private key. | 38 | * and accessed in this API using a public/private key. |
39 | * Higher-level applications should use NAMES within GADS | 39 | * Higher-level applications should use NAMES within GADS |
40 | * to obtain public keys, and the distinction between | 40 | * to obtain public keys, and the distinction between |
41 | * 'places' and 'persons' can then be made with the help | 41 | * 'places' and 'persons' can then be made with the help |
42 | * of the naming system (and/or conventions). | 42 | * of the naming system (and/or conventions). |
43 | * Channels are (as in PSYC) organized into a hierarchy; each | 43 | * Channels are (as in PSYC) organized into a hierarchy; each |
44 | * channel master (the one with the private key) is then | 44 | * channel master (the one with the private key) is then |
45 | * the operator of the multicast group (its Origin in | 45 | * the operator of the multicast group (its Origin in |
46 | * the terminology of the multicast API). | 46 | * the terminology of the multicast API). |
47 | * - The API supports passing large amounts of data using | 47 | * - The API supports passing large amounts of data using |
48 | * 'streaming' for the argument passed to a method. State | 48 | * 'streaming' for the argument passed to a method. State |
49 | * and variables must fit into memory and cannot be streamed | 49 | * and variables must fit into memory and cannot be streamed |
50 | * (thus, no passing of 4 GB of data in a variable; | 50 | * (thus, no passing of 4 GB of data in a variable; |
51 | * once we implement this, we might want to create a | 51 | * once we implement this, we might want to create a |
52 | * @c \#define for the maximum size of a variable). | 52 | * @c \#define for the maximum size of a variable). |
53 | * - PSYC defines standard variables, methods, etc. This | 53 | * - PSYC defines standard variables, methods, etc. This |
@@ -65,7 +65,7 @@ | |||
65 | * receives messages (but never forwards; private responses | 65 | * receives messages (but never forwards; private responses |
66 | * would be transmitted by joining the senders 'inbox' | 66 | * would be transmitted by joining the senders 'inbox' |
67 | * channel -- or a inbox#bob subchannel). The | 67 | * channel -- or a inbox#bob subchannel). The |
68 | * goal for all of this is to keep the abstractions in this | 68 | * goal for all of this is to keep the abstractions in this |
69 | * API minimal: interaction with multicast, try \& slice, | 69 | * API minimal: interaction with multicast, try \& slice, |
70 | * state/variable/channel management. Higher-level | 70 | * state/variable/channel management. Higher-level |
71 | * operations belong elsewhere (so maybe this API should | 71 | * operations belong elsewhere (so maybe this API should |
@@ -134,7 +134,7 @@ struct GNUNET_PSYC_PartHandle; | |||
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Method called from PSYC upon receiving a message indicating a call | 136 | * Method called from PSYC upon receiving a message indicating a call |
137 | * to a @e method. | 137 | * to a @e method. |
138 | * | 138 | * |
139 | * @param cls Closure. | 139 | * @param cls Closure. |
140 | * @param sender Who transmitted the message (master, except for messages | 140 | * @param sender Who transmitted the message (master, except for messages |
@@ -149,7 +149,7 @@ struct GNUNET_PSYC_PartHandle; | |||
149 | * @param header Modifiers present in the message. FIXME: use environment instead? | 149 | * @param header Modifiers present in the message. FIXME: use environment instead? |
150 | * @param data_offset Byte offset of @a data in the overall data of the method. | 150 | * @param data_offset Byte offset of @a data in the overall data of the method. |
151 | * @param data_size Number of bytes in @a data. | 151 | * @param data_size Number of bytes in @a data. |
152 | * @param data Data stream given to the method (might not be zero-terminated | 152 | * @param data Data stream given to the method (might not be zero-terminated |
153 | * if data is binary). | 153 | * if data is binary). |
154 | * @param frag Fragmentation status for the data. | 154 | * @param frag Fragmentation status for the data. |
155 | */ | 155 | */ |
@@ -174,7 +174,7 @@ typedef int (*GNUNET_PSYC_Method)(void *cls, | |||
174 | * @param header_length Number of modifiers in header. | 174 | * @param header_length Number of modifiers in header. |
175 | * @param header Modifiers present in the message. | 175 | * @param header Modifiers present in the message. |
176 | * @param data_size Number of bytes in @a data. | 176 | * @param data_size Number of bytes in @a data. |
177 | * @param data Data stream given to the method (might not be zero-terminated | 177 | * @param data Data stream given to the method (might not be zero-terminated |
178 | * if data is binary). | 178 | * if data is binary). |
179 | */ | 179 | */ |
180 | typedef int (*GNUNET_PSYC_JoinCallback)(void *cls, | 180 | typedef int (*GNUNET_PSYC_JoinCallback)(void *cls, |
@@ -196,7 +196,7 @@ typedef int (*GNUNET_PSYC_JoinCallback)(void *cls, | |||
196 | * @param header_length Number of modifiers in header. | 196 | * @param header_length Number of modifiers in header. |
197 | * @param header Modifiers present in the message. | 197 | * @param header Modifiers present in the message. |
198 | * @param data_size Number of bytes in @a data. | 198 | * @param data_size Number of bytes in @a data. |
199 | * @param data Data stream given to the method (might not be zero-terminated | 199 | * @param data Data stream given to the method (might not be zero-terminated |
200 | * if data is binary). | 200 | * if data is binary). |
201 | */ | 201 | */ |
202 | typedef int (*GNUNET_PSYC_PartCallback)(void *cls, | 202 | typedef int (*GNUNET_PSYC_PartCallback)(void *cls, |
@@ -300,7 +300,7 @@ GNUNET_PSYC_master_create (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
300 | * @param[out] data Where to write the body of the message to give to the method; | 300 | * @param[out] data Where to write the body of the message to give to the method; |
301 | * function must copy at most @a *data_size bytes to @a data. | 301 | * function must copy at most @a *data_size bytes to @a data. |
302 | * @return #GNUNET_SYSERR on error (fatal, aborts transmission) | 302 | * @return #GNUNET_SYSERR on error (fatal, aborts transmission) |
303 | * #GNUNET_NO on success, if more data is to be transmitted later | 303 | * #GNUNET_NO on success, if more data is to be transmitted later |
304 | * (should be used if @a *data_size was not big enough to take all the data) | 304 | * (should be used if @a *data_size was not big enough to take all the data) |
305 | * #GNUNET_YES if this completes the transmission (all data supplied) | 305 | * #GNUNET_YES if this completes the transmission (all data supplied) |
306 | */ | 306 | */ |
@@ -311,7 +311,7 @@ typedef int (*GNUNET_PSYC_MasterReadyNotify)(void *cls, | |||
311 | 311 | ||
312 | 312 | ||
313 | /** | 313 | /** |
314 | * Handle for a pending PSYC transmission operation. | 314 | * Handle for a pending PSYC transmission operation. |
315 | */ | 315 | */ |
316 | struct GNUNET_PSYC_MasterTransmitHandle; | 316 | struct GNUNET_PSYC_MasterTransmitHandle; |
317 | 317 | ||
@@ -363,20 +363,20 @@ struct GNUNET_PSYC_Channel; | |||
363 | 363 | ||
364 | /** | 364 | /** |
365 | * Convert a channel @a master to a @e channel handle to access the @e channel APIs. | 365 | * Convert a channel @a master to a @e channel handle to access the @e channel APIs. |
366 | * | 366 | * |
367 | * @param master Channel master handle. | 367 | * @param master Channel master handle. |
368 | * @return Channel handle, valid for as long as @a master is valid. | 368 | * @return Channel handle, valid for as long as @a master is valid. |
369 | */ | 369 | */ |
370 | struct GNUNET_PSYC_Channel * | 370 | struct GNUNET_PSYC_Channel * |
371 | GNUNET_PSYC_master_get_channel (struct GNUNET_PSYC_Master *master); | 371 | GNUNET_PSYC_master_get_channel (struct GNUNET_PSYC_Master *master); |
372 | 372 | ||
373 | 373 | ||
374 | /** | 374 | /** |
375 | * Convert @a slave to a @e channel handle to access the @e channel APIs. | 375 | * Convert @a slave to a @e channel handle to access the @e channel APIs. |
376 | * | 376 | * |
377 | * @param slave Slave handle. | 377 | * @param slave Slave handle. |
378 | * @return Channel handle, valid for as long as @a slave is valid. | 378 | * @return Channel handle, valid for as long as @a slave is valid. |
379 | */ | 379 | */ |
380 | struct GNUNET_PSYC_Channel * | 380 | struct GNUNET_PSYC_Channel * |
381 | GNUNET_PSYC_slave_get_channel (struct GNUNET_PSYC_Slave *slave); | 381 | GNUNET_PSYC_slave_get_channel (struct GNUNET_PSYC_Slave *slave); |
382 | 382 | ||
@@ -473,7 +473,7 @@ struct GNUNET_PSYC_Slave; | |||
473 | * @return Handle for the slave, NULL on error. | 473 | * @return Handle for the slave, NULL on error. |
474 | */ | 474 | */ |
475 | struct GNUNET_PSYC_Slave * | 475 | struct GNUNET_PSYC_Slave * |
476 | GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | 476 | GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, |
477 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, | 477 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, |
478 | const struct GNUNET_PeerIdentity *origin, | 478 | const struct GNUNET_PeerIdentity *origin, |
479 | GNUNET_PSYC_Method method, | 479 | GNUNET_PSYC_Method method, |
@@ -565,9 +565,9 @@ struct GNUNET_PSYC_Story; | |||
565 | * @param end_message_id Last (exclusive) interesting point in history. | 565 | * @param end_message_id Last (exclusive) interesting point in history. |
566 | * @param method Function to invoke on messages received from the story. | 566 | * @param method Function to invoke on messages received from the story. |
567 | * @param method_cls Closure for @a method. | 567 | * @param method_cls Closure for @a method. |
568 | * @param finish_cb Function to call when the requested story has been fully | 568 | * @param finish_cb Function to call when the requested story has been fully |
569 | * told (counting message IDs might not suffice, as some messages | 569 | * told (counting message IDs might not suffice, as some messages |
570 | * might be secret and thus the listener would not know the story is | 570 | * might be secret and thus the listener would not know the story is |
571 | * finished without being told explicitly); once this function | 571 | * finished without being told explicitly); once this function |
572 | * has been called, the client must not call | 572 | * has been called, the client must not call |
573 | * GNUNET_PSYC_slave_story_tell_cancel() anymore. | 573 | * GNUNET_PSYC_slave_story_tell_cancel() anymore. |
@@ -609,7 +609,7 @@ GNUNET_PSYC_slave_story_tell_cancel (struct GNUNET_PSYC_Story *story); | |||
609 | * values stored under "_a_b_c". | 609 | * values stored under "_a_b_c". |
610 | * | 610 | * |
611 | * @param slave Slave handle. | 611 | * @param slave Slave handle. |
612 | * @param state_name Name of the state to query (full name | 612 | * @param state_name Name of the state to query (full name |
613 | * might be longer, this is only the prefix that must match). | 613 | * might be longer, this is only the prefix that must match). |
614 | * @param cb Function to call on the matching state values. | 614 | * @param cb Function to call on the matching state values. |
615 | * @param cb_cls Closure for @a cb. | 615 | * @param cb_cls Closure for @a cb. |
@@ -636,7 +636,7 @@ GNUNET_PSYC_slave_state_get_all (struct GNUNET_PSYC_Slave *slave, | |||
636 | * | 636 | * |
637 | * @param slave Slave handle. | 637 | * @param slave Slave handle. |
638 | * @param variable_name Name of the variable to query. | 638 | * @param variable_name Name of the variable to query. |
639 | * @param[out] return_value_size Set to number of bytes in variable, | 639 | * @param[out] return_value_size Set to number of bytes in variable, |
640 | * needed as variables might contain binary data and | 640 | * needed as variables might contain binary data and |
641 | * might also not be 0-terminated; set to 0 on errors. | 641 | * might also not be 0-terminated; set to 0 on errors. |
642 | * @return NULL on error (no matching state or variable), pointer | 642 | * @return NULL on error (no matching state or variable), pointer |
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h index 4cd5a36fc..d6f7b0781 100644 --- a/src/include/gnunet_psycstore_service.h +++ b/src/include/gnunet_psycstore_service.h | |||
@@ -160,7 +160,7 @@ GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
160 | * @param message The retrieved message fragment. | 160 | * @param message The retrieved message fragment. |
161 | * @param flags Message flags indicating fragmentation status. | 161 | * @param flags Message flags indicating fragmentation status. |
162 | */ | 162 | */ |
163 | typedef void (*GNUNET_PSYCSTORE_FragmentResultCallback)(void *cls, | 163 | typedef void (*GNUNET_PSYCSTORE_FragmentResultCallback)(void *cls, |
164 | const struct GNUNET_MULTICAST_MessageHeader *message, | 164 | const struct GNUNET_MULTICAST_MessageHeader *message, |
165 | enum GNUNET_PSYC_MessageFlags flags); | 165 | enum GNUNET_PSYC_MessageFlags flags); |
166 | 166 | ||
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h index 5a0be66f4..df98a7d4a 100644 --- a/src/include/gnunet_social_service.h +++ b/src/include/gnunet_social_service.h | |||
@@ -88,7 +88,7 @@ struct GNUNET_SOCIAL_Slicer; | |||
88 | * @param header Modifiers present in the message. FIXME: use environment instead? | 88 | * @param header Modifiers present in the message. FIXME: use environment instead? |
89 | * @param data_offset Byte offset of @a data in the overall data of the method. | 89 | * @param data_offset Byte offset of @a data in the overall data of the method. |
90 | * @param data_size Number of bytes in @a data. | 90 | * @param data_size Number of bytes in @a data. |
91 | * @param data Data stream given to the method (might not be zero-terminated | 91 | * @param data Data stream given to the method (might not be zero-terminated |
92 | * if data is binary). | 92 | * if data is binary). |
93 | * @param flags Message flags indicating fragmentation status. | 93 | * @param flags Message flags indicating fragmentation status. |
94 | */ | 94 | */ |
@@ -486,7 +486,7 @@ GNUNET_SOCIAL_place_look (struct GNUNET_SOCIAL_Place *place, | |||
486 | * Look at matching objects in the place. | 486 | * Look at matching objects in the place. |
487 | * | 487 | * |
488 | * @param place The place to look its objects at. | 488 | * @param place The place to look its objects at. |
489 | * @param object_filter Only look at objects with names beginning with this filter value. | 489 | * @param object_filter Only look at objects with names beginning with this filter value. |
490 | * @param state_cb Function to call for each object found. | 490 | * @param state_cb Function to call for each object found. |
491 | * @param state_cb_cls Closure for callback function. | 491 | * @param state_cb_cls Closure for callback function. |
492 | * | 492 | * |
@@ -593,7 +593,7 @@ GNUNET_SOCIAL_place_get_history (struct GNUNET_SOCIAL_Place *place, | |||
593 | void | 593 | void |
594 | GNUNET_SOCIAL_place_get_history_cancel (struct GNUNET_SOCIAL_HistoryLesson *hist); | 594 | GNUNET_SOCIAL_place_get_history_cancel (struct GNUNET_SOCIAL_HistoryLesson *hist); |
595 | 595 | ||
596 | 596 | ||
597 | /** | 597 | /** |
598 | * Leave a place permanently. | 598 | * Leave a place permanently. |
599 | * | 599 | * |