diff options
author | Gabor X Toth <*@tg-x.net> | 2013-07-23 05:38:25 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-07-23 05:38:25 +0000 |
commit | 67c5a441c686b5242f096a68cd58a77df3f36942 (patch) | |
tree | 1461041d5f2ab84e93b68052c44bbb2ed26ee382 /src/include | |
parent | e04eeb1369916a25d3277d774203d4bfa9adb564 (diff) | |
download | gnunet-67c5a441c686b5242f096a68cd58a77df3f36942.tar.gz gnunet-67c5a441c686b5242f096a68cd58a77df3f36942.zip |
untabify
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_multicast_service.h | 66 | ||||
-rw-r--r-- | src/include/gnunet_psyc_service.h | 20 | ||||
-rw-r--r-- | src/include/gnunet_psycstore_service.h | 54 | ||||
-rw-r--r-- | src/include/gnunet_social_service.h | 72 |
4 files changed, 106 insertions, 106 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index cbe0ac698..88a8dba47 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -364,7 +364,7 @@ struct GNUNET_MULTICAST_MembershipTestHandle; | |||
364 | */ | 364 | */ |
365 | void | 365 | void |
366 | GNUNET_MULTICAST_membership_test_answer (struct GNUNET_MULTICAST_MembershipTestHandle *mth, | 366 | GNUNET_MULTICAST_membership_test_answer (struct GNUNET_MULTICAST_MembershipTestHandle *mth, |
367 | int decision); | 367 | int decision); |
368 | 368 | ||
369 | 369 | ||
370 | /** | 370 | /** |
@@ -379,9 +379,9 @@ GNUNET_MULTICAST_membership_test_answer (struct GNUNET_MULTICAST_MembershipTestH | |||
379 | * @param mth Handle to give to GNUNET_MULTICAST_membership_test_answer(). | 379 | * @param mth Handle to give to GNUNET_MULTICAST_membership_test_answer(). |
380 | */ | 380 | */ |
381 | typedef void (*GNUNET_MULTICAST_MembershipTestCallback)(void *cls, | 381 | typedef void (*GNUNET_MULTICAST_MembershipTestCallback)(void *cls, |
382 | const struct GNUNET_PeerIdentity *peer, | 382 | const struct GNUNET_PeerIdentity *peer, |
383 | uint64_t fragment_id, | 383 | uint64_t fragment_id, |
384 | struct GNUNET_MULTICAST_MembershipTestHandle *mth); | 384 | struct GNUNET_MULTICAST_MembershipTestHandle *mth); |
385 | 385 | ||
386 | 386 | ||
387 | /** | 387 | /** |
@@ -436,8 +436,8 @@ struct GNUNET_MULTICAST_ReplayHandle; | |||
436 | * @param rh Handle to pass to message transmit function. | 436 | * @param rh Handle to pass to message transmit function. |
437 | */ | 437 | */ |
438 | typedef void (*GNUNET_MULTICAST_ReplayCallback) (void *cls, | 438 | typedef void (*GNUNET_MULTICAST_ReplayCallback) (void *cls, |
439 | uint64_t fragment_id, | 439 | uint64_t fragment_id, |
440 | struct GNUNET_MULTICAST_ReplayHandle *rh); | 440 | struct GNUNET_MULTICAST_ReplayHandle *rh); |
441 | 441 | ||
442 | 442 | ||
443 | /** | 443 | /** |
@@ -481,8 +481,8 @@ enum GNUNET_MULTICAST_ReplayErrorCode | |||
481 | */ | 481 | */ |
482 | void | 482 | void |
483 | GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh, | 483 | GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh, |
484 | const struct GNUNET_MULTICAST_MessageHeader *msg, | 484 | const struct GNUNET_MULTICAST_MessageHeader *msg, |
485 | enum GNUNET_MULTICAST_ReplayErrorCode ec); | 485 | enum GNUNET_MULTICAST_ReplayErrorCode ec); |
486 | 486 | ||
487 | 487 | ||
488 | /** | 488 | /** |
@@ -513,14 +513,14 @@ GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh, | |||
513 | */ | 513 | */ |
514 | struct GNUNET_MULTICAST_Origin * | 514 | struct GNUNET_MULTICAST_Origin * |
515 | GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | 515 | GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
516 | void *cls, | 516 | void *cls, |
517 | const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, | 517 | const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, |
518 | enum GNUNET_MULTICAST_JoinPolicy join_policy, | 518 | enum GNUNET_MULTICAST_JoinPolicy join_policy, |
519 | GNUNET_MULITCAST_ReplayCallback replay_cb, | 519 | GNUNET_MULITCAST_ReplayCallback replay_cb, |
520 | GNUNET_MULITCAST_MembershipTestCallback test_cb, | 520 | GNUNET_MULITCAST_MembershipTestCallback test_cb, |
521 | GNUNET_MULTICAST_JoinCallback join_cb, | 521 | GNUNET_MULTICAST_JoinCallback join_cb, |
522 | GNUNET_MULTICAST_PartCallback part_cb, | 522 | GNUNET_MULTICAST_PartCallback part_cb, |
523 | GNUNET_MULTICAST_RequestCallback request_cb); | 523 | GNUNET_MULTICAST_RequestCallback request_cb); |
524 | 524 | ||
525 | 525 | ||
526 | /** | 526 | /** |
@@ -541,9 +541,9 @@ struct GNUNET_MULTICAST_OriginMessageHandle; | |||
541 | */ | 541 | */ |
542 | struct GNUNET_MULTICAST_OriginMessageHandle * | 542 | struct GNUNET_MULTICAST_OriginMessageHandle * |
543 | GNUNET_MULTICAST_origin_to_all (struct GNUNET_MULTICAST_Origin *origin, | 543 | GNUNET_MULTICAST_origin_to_all (struct GNUNET_MULTICAST_Origin *origin, |
544 | size_t size, | 544 | size_t size, |
545 | GNUNET_CONNECTION_TransmitReadyNotify cb, | 545 | GNUNET_CONNECTION_TransmitReadyNotify cb, |
546 | void *cb_cls); | 546 | void *cb_cls); |
547 | 547 | ||
548 | 548 | ||
549 | /** | 549 | /** |
@@ -604,15 +604,15 @@ GNUNET_MULTICAST_origin_end (struct GNUNET_MULTICAST_Origin *origin); | |||
604 | */ | 604 | */ |
605 | struct GNUNET_MULTICAST_Member * | 605 | struct GNUNET_MULTICAST_Member * |
606 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | 606 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, |
607 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, | 607 | const struct GNUNET_CRYPTO_EccPublicKey *pub_key, |
608 | const struct GNUNET_PeerIdentity *origin, | 608 | const struct GNUNET_PeerIdentity *origin, |
609 | uint64_t max_known_fragment_id, | 609 | uint64_t max_known_fragment_id, |
610 | uint64_t max_known_state_fragment_id, | 610 | uint64_t max_known_state_fragment_id, |
611 | GNUNET_MULTICAST_ReplayCallback replay_cb, | 611 | GNUNET_MULTICAST_ReplayCallback replay_cb, |
612 | GNUNET_MULITCAST_MembershipTestCallback test_cb, | 612 | GNUNET_MULITCAST_MembershipTestCallback test_cb, |
613 | GNUNET_MULTICAST_MessageCallback message_cb, | 613 | GNUNET_MULTICAST_MessageCallback message_cb, |
614 | void *cls, | 614 | void *cls, |
615 | const struct GNUNET_MessageHeader *join_req); | 615 | const struct GNUNET_MessageHeader *join_req); |
616 | 616 | ||
617 | 617 | ||
618 | /** | 618 | /** |
@@ -635,9 +635,9 @@ struct GNUNET_MULTICAST_MemberReplayHandle; | |||
635 | */ | 635 | */ |
636 | struct GNUNET_MULTICAST_MemberReplayHandle * | 636 | struct GNUNET_MULTICAST_MemberReplayHandle * |
637 | GNUNET_MULTICAST_member_request_replay (struct GNUNET_MULTICAST_Member *member, | 637 | GNUNET_MULTICAST_member_request_replay (struct GNUNET_MULTICAST_Member *member, |
638 | uint64_t fragment_id, | 638 | uint64_t fragment_id, |
639 | GNUNET_MULTICAST_MessageCallback message_cb, | 639 | GNUNET_MULTICAST_MessageCallback message_cb, |
640 | void *message_cb_cls); | 640 | void *message_cb_cls); |
641 | 641 | ||
642 | 642 | ||
643 | /** | 643 | /** |
@@ -677,9 +677,9 @@ struct GNUNET_MULTICAST_MemberRequestHandle; | |||
677 | */ | 677 | */ |
678 | struct GNUNET_MULTICAST_MemberRequestHandle * | 678 | struct GNUNET_MULTICAST_MemberRequestHandle * |
679 | GNUNET_MULTICAST_member_to_origin (struct GNUNET_MULTICAST_Member *member, | 679 | GNUNET_MULTICAST_member_to_origin (struct GNUNET_MULTICAST_Member *member, |
680 | size_t size, | 680 | size_t size, |
681 | GNUNET_CONNECTION_TransmitReadyNotify cb, | 681 | GNUNET_CONNECTION_TransmitReadyNotify cb, |
682 | void *cb_cls); | 682 | void *cb_cls); |
683 | 683 | ||
684 | 684 | ||
685 | /** | 685 | /** |
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h index 5abd08eaa..d5257b26e 100644 --- a/src/include/gnunet_psyc_service.h +++ b/src/include/gnunet_psyc_service.h | |||
@@ -161,15 +161,15 @@ struct GNUNET_PSYC_PartHandle; | |||
161 | * @param frag Fragmentation status for the data. | 161 | * @param frag Fragmentation status for the data. |
162 | */ | 162 | */ |
163 | typedef int (*GNUNET_PSYC_Method)(void *cls, | 163 | typedef int (*GNUNET_PSYC_Method)(void *cls, |
164 | const struct GNUNET_PeerIdentity *sender, | 164 | const struct GNUNET_PeerIdentity *sender, |
165 | uint64_t message_id, | 165 | uint64_t message_id, |
166 | const char *method_name, | 166 | const char *method_name, |
167 | size_t header_length, | 167 | size_t header_length, |
168 | GNUNET_PSYC_Modifier *header, | 168 | GNUNET_PSYC_Modifier *header, |
169 | uint64_t data_offset, | 169 | uint64_t data_offset, |
170 | size_t data_size, | 170 | size_t data_size, |
171 | const void *data, | 171 | const void *data, |
172 | enum GNUNET_PSYC_MessageFlags flags); | 172 | enum GNUNET_PSYC_MessageFlags flags); |
173 | 173 | ||
174 | 174 | ||
175 | /** | 175 | /** |
@@ -565,9 +565,9 @@ GNUNET_PSYC_channel_member_remove (struct GNUNET_PSYC_Channel *channel, | |||
565 | * @param value_size Number of bytes in @a value. | 565 | * @param value_size Number of bytes in @a value. |
566 | */ | 566 | */ |
567 | typedef void (*GNUNET_PSYC_StateCallback)(void *cls, | 567 | typedef void (*GNUNET_PSYC_StateCallback)(void *cls, |
568 | const char *name, | 568 | const char *name, |
569 | size_t value_size, | 569 | size_t value_size, |
570 | const void *value); | 570 | const void *value); |
571 | 571 | ||
572 | 572 | ||
573 | /** | 573 | /** |
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h index eb5bc049e..e074c6bf6 100644 --- a/src/include/gnunet_psycstore_service.h +++ b/src/include/gnunet_psycstore_service.h | |||
@@ -82,7 +82,7 @@ struct GNUNET_PSYCSTORE_OperationHandle; | |||
82 | * #GNUNET_NO if the peer was not a member | 82 | * #GNUNET_NO if the peer was not a member |
83 | */ | 83 | */ |
84 | typedef void (*GNUNET_PSYCSTORE_ContinuationCallback)(void *cls, | 84 | typedef void (*GNUNET_PSYCSTORE_ContinuationCallback)(void *cls, |
85 | int result); | 85 | int result); |
86 | 86 | ||
87 | /** | 87 | /** |
88 | * Store join/leave events for a PSYC channel in order to be able to answer | 88 | * Store join/leave events for a PSYC channel in order to be able to answer |
@@ -126,11 +126,11 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
126 | */ | 126 | */ |
127 | struct GNUNET_PSYCSTORE_OperationHandle * | 127 | struct GNUNET_PSYCSTORE_OperationHandle * |
128 | GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, | 128 | GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, |
129 | const struct GNUNET_HashCode *channel_id, | 129 | const struct GNUNET_HashCode *channel_id, |
130 | uint64_t fragment_id, | 130 | uint64_t fragment_id, |
131 | const struct GNUNET_PeerIdentity *peer, | 131 | const struct GNUNET_PeerIdentity *peer, |
132 | GNUNET_PSYCSTORE_ContinuationCallback ccb, | 132 | GNUNET_PSYCSTORE_ContinuationCallback ccb, |
133 | void *ccb_cls); | 133 | void *ccb_cls); |
134 | 134 | ||
135 | 135 | ||
136 | /** | 136 | /** |
@@ -161,7 +161,7 @@ GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
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 | ||
167 | 167 | ||
@@ -197,10 +197,10 @@ GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
197 | */ | 197 | */ |
198 | struct GNUNET_PSYCSTORE_OperationHandle * | 198 | struct GNUNET_PSYCSTORE_OperationHandle * |
199 | GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | 199 | GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, |
200 | const struct GNUNET_HashCode *channel_id, | 200 | const struct GNUNET_HashCode *channel_id, |
201 | uint64_t message_id, | 201 | uint64_t message_id, |
202 | GNUNET_PSYCSTORE_FragmentResultCallback rcb, | 202 | GNUNET_PSYCSTORE_FragmentResultCallback rcb, |
203 | void *rcb_cls); | 203 | void *rcb_cls); |
204 | 204 | ||
205 | 205 | ||
206 | /** | 206 | /** |
@@ -218,12 +218,12 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
218 | */ | 218 | */ |
219 | struct GNUNET_PSYCSTORE_OperationHandle * | 219 | struct GNUNET_PSYCSTORE_OperationHandle * |
220 | GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h, | 220 | GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h, |
221 | const struct GNUNET_HashCode *channel_id, | 221 | const struct GNUNET_HashCode *channel_id, |
222 | const char *name, | 222 | const char *name, |
223 | size_t value_size, | 223 | size_t value_size, |
224 | const void *value, | 224 | const void *value, |
225 | GNUNET_PSYCSTORE_ContinuationCallback ccb, | 225 | GNUNET_PSYCSTORE_ContinuationCallback ccb, |
226 | void *ccb_cls); | 226 | void *ccb_cls); |
227 | 227 | ||
228 | 228 | ||
229 | /** | 229 | /** |
@@ -236,9 +236,9 @@ GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h, | |||
236 | t * | 236 | t * |
237 | */ | 237 | */ |
238 | typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls, | 238 | typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls, |
239 | const char *name, | 239 | const char *name, |
240 | size_t size, | 240 | size_t size, |
241 | const void *value); | 241 | const void *value); |
242 | 242 | ||
243 | 243 | ||
244 | /** | 244 | /** |
@@ -254,10 +254,10 @@ typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls, | |||
254 | */ | 254 | */ |
255 | struct GNUNET_PSYCSTORE_OperationHandle * | 255 | struct GNUNET_PSYCSTORE_OperationHandle * |
256 | GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, | 256 | GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, |
257 | const struct GNUNET_HashCode *channel_id, | 257 | const struct GNUNET_HashCode *channel_id, |
258 | const char *name, | 258 | const char *name, |
259 | GNUNET_PSYCSTORE_StateResultCallback rcb, | 259 | GNUNET_PSYCSTORE_StateResultCallback rcb, |
260 | void *rcb_cls); | 260 | void *rcb_cls); |
261 | 261 | ||
262 | 262 | ||
263 | /** | 263 | /** |
@@ -272,9 +272,9 @@ GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
272 | */ | 272 | */ |
273 | struct GNUNET_PSYCSTORE_OperationHandle * | 273 | struct GNUNET_PSYCSTORE_OperationHandle * |
274 | GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h, | 274 | GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h, |
275 | const struct GNUNET_HashCode *channel_id, | 275 | const struct GNUNET_HashCode *channel_id, |
276 | GNUNET_PSYCSTORE_StateResultCallback rcb, | 276 | GNUNET_PSYCSTORE_StateResultCallback rcb, |
277 | void *rcb_cls); | 277 | void *rcb_cls); |
278 | 278 | ||
279 | 279 | ||
280 | /** | 280 | /** |
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h index 36a7e7ed2..aa20f7925 100644 --- a/src/include/gnunet_social_service.h +++ b/src/include/gnunet_social_service.h | |||
@@ -93,14 +93,14 @@ struct GNUNET_SOCIAL_Slicer; | |||
93 | * @param flags Message flags indicating fragmentation status. | 93 | * @param flags Message flags indicating fragmentation status. |
94 | */ | 94 | */ |
95 | typedef int (*GNUNET_SOCIAL_Method)(void *cls, | 95 | typedef int (*GNUNET_SOCIAL_Method)(void *cls, |
96 | const char *full_method_name, | 96 | const char *full_method_name, |
97 | uint64_t message_id, | 97 | uint64_t message_id, |
98 | size_t header_length, | 98 | size_t header_length, |
99 | GNUNET_PSYC_Modifier *header, | 99 | GNUNET_PSYC_Modifier *header, |
100 | uint64_t data_offset, | 100 | uint64_t data_offset, |
101 | size_t data_size, | 101 | size_t data_size, |
102 | const void *data, | 102 | const void *data, |
103 | enum GNUNET_PSYC_MessageFlags flags); | 103 | enum GNUNET_PSYC_MessageFlags flags); |
104 | 104 | ||
105 | 105 | ||
106 | /** | 106 | /** |
@@ -126,9 +126,9 @@ GNUNET_SOCIAL_slicer_create (void); | |||
126 | */ | 126 | */ |
127 | void | 127 | void |
128 | GNUNET_SOCIAL_slicer_add (struct GNUNET_SOCIAL_Slicer *slicer, | 128 | GNUNET_SOCIAL_slicer_add (struct GNUNET_SOCIAL_Slicer *slicer, |
129 | const char *method_name, | 129 | const char *method_name, |
130 | GNUNET_SOCIAL_Method method, | 130 | GNUNET_SOCIAL_Method method, |
131 | void *method_cls); | 131 | void *method_cls); |
132 | 132 | ||
133 | 133 | ||
134 | /** | 134 | /** |
@@ -193,11 +193,11 @@ GNUNET_SOCIAL_ego_destroy (struct GNUNET_SOCIAL_Ego *ego); | |||
193 | * @param data Payload given on enter (e.g. a password). | 193 | * @param data Payload given on enter (e.g. a password). |
194 | */ | 194 | */ |
195 | typedef void (*GNUNET_SOCIAL_AnswerDoorCallback)(void *cls, | 195 | typedef void (*GNUNET_SOCIAL_AnswerDoorCallback)(void *cls, |
196 | struct GNUNET_SOCIAL_Nym *nym, | 196 | struct GNUNET_SOCIAL_Nym *nym, |
197 | size_t header_length, | 197 | size_t header_length, |
198 | GNUNET_PSYC_Modifier *header, | 198 | GNUNET_PSYC_Modifier *header, |
199 | size_t data_size, | 199 | size_t data_size, |
200 | const void *data); | 200 | const void *data); |
201 | 201 | ||
202 | 202 | ||
203 | /** | 203 | /** |
@@ -212,7 +212,7 @@ typedef void (*GNUNET_SOCIAL_AnswerDoorCallback)(void *cls, | |||
212 | * @param header Modifiers present in the message. | 212 | * @param header Modifiers present in the message. |
213 | */ | 213 | */ |
214 | typedef void (*GNUNET_SOCIAL_FarewellCallback)(void *cls, | 214 | typedef void (*GNUNET_SOCIAL_FarewellCallback)(void *cls, |
215 | struct GNUNET_SOCIAL_Nym *nym, | 215 | struct GNUNET_SOCIAL_Nym *nym, |
216 | size_t header_length, | 216 | size_t header_length, |
217 | GNUNET_PSYC_Modifier *header); | 217 | GNUNET_PSYC_Modifier *header); |
218 | 218 | ||
@@ -226,7 +226,7 @@ typedef void (*GNUNET_SOCIAL_FarewellCallback)(void *cls, | |||
226 | * | 226 | * |
227 | * @param cfg Configuration to contact the social service. | 227 | * @param cfg Configuration to contact the social service. |
228 | * @param home_keyfile File with the private key for the home, | 228 | * @param home_keyfile File with the private key for the home, |
229 | * created if the file does not exist; | 229 | * created if the file does not exist; |
230 | * pass NULL for ephemeral homes. | 230 | * pass NULL for ephemeral homes. |
231 | * @param join_policy What is our policy for allowing people in? | 231 | * @param join_policy What is our policy for allowing people in? |
232 | * @param ego Owner of the home (host). | 232 | * @param ego Owner of the home (host). |
@@ -238,13 +238,13 @@ typedef void (*GNUNET_SOCIAL_FarewellCallback)(void *cls, | |||
238 | */ | 238 | */ |
239 | struct GNUNET_SOCIAL_Home * | 239 | struct GNUNET_SOCIAL_Home * |
240 | GNUNET_SOCIAL_home_enter (const struct GNUNET_CONFIGURATION_Handle *cfg, | 240 | GNUNET_SOCIAL_home_enter (const struct GNUNET_CONFIGURATION_Handle *cfg, |
241 | const char *home_keyfile, | 241 | const char *home_keyfile, |
242 | enum GNUNET_MULTICAST_JoinPolicy join_policy, | 242 | enum GNUNET_MULTICAST_JoinPolicy join_policy, |
243 | struct GNUNET_SOCIAL_Ego *ego, | 243 | struct GNUNET_SOCIAL_Ego *ego, |
244 | struct GNUNET_SOCIAL_Slicer *slicer, | 244 | struct GNUNET_SOCIAL_Slicer *slicer, |
245 | GNUNET_SOCIAL_AnswerDoorCallback listener_cb, | 245 | GNUNET_SOCIAL_AnswerDoorCallback listener_cb, |
246 | GNUNET_SOCIAL_FarewellCallback farewell_cb, | 246 | GNUNET_SOCIAL_FarewellCallback farewell_cb, |
247 | void *cls); | 247 | void *cls); |
248 | 248 | ||
249 | 249 | ||
250 | /** | 250 | /** |
@@ -258,7 +258,7 @@ GNUNET_SOCIAL_home_enter (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
258 | */ | 258 | */ |
259 | void | 259 | void |
260 | GNUNET_SOCIAL_home_admit (struct GNUNET_SOCIAL_Home *home, | 260 | GNUNET_SOCIAL_home_admit (struct GNUNET_SOCIAL_Home *home, |
261 | struct GNUNET_SOCIAL_Nym *nym); | 261 | struct GNUNET_SOCIAL_Nym *nym); |
262 | 262 | ||
263 | 263 | ||
264 | /** | 264 | /** |
@@ -305,7 +305,7 @@ GNUNET_SOCIAL_home_reject_entry (struct GNUNET_SOCIAL_Home *home, | |||
305 | */ | 305 | */ |
306 | void | 306 | void |
307 | GNUNET_SOCIAL_nym_get_identity (struct GNUNET_SOCIAL_Nym *nym, | 307 | GNUNET_SOCIAL_nym_get_identity (struct GNUNET_SOCIAL_Nym *nym, |
308 | struct GNUNET_CRYPTO_ShortHashCode *identity); | 308 | struct GNUNET_CRYPTO_ShortHashCode *identity); |
309 | 309 | ||
310 | 310 | ||
311 | /** | 311 | /** |
@@ -317,7 +317,7 @@ GNUNET_SOCIAL_nym_get_identity (struct GNUNET_SOCIAL_Nym *nym, | |||
317 | */ | 317 | */ |
318 | void | 318 | void |
319 | GNUNET_SOCIAL_home_get_address (struct GNUNET_SOCIAL_Home *home, | 319 | GNUNET_SOCIAL_home_get_address (struct GNUNET_SOCIAL_Home *home, |
320 | struct GNUNET_HashCode *crypto_address); | 320 | struct GNUNET_HashCode *crypto_address); |
321 | 321 | ||
322 | 322 | ||
323 | 323 | ||
@@ -463,9 +463,9 @@ struct GNUNET_SOCIAL_WatchHandle; | |||
463 | */ | 463 | */ |
464 | struct GNUNET_SOCIAL_WatchHandle * | 464 | struct GNUNET_SOCIAL_WatchHandle * |
465 | GNUNET_SOCIAL_place_watch (struct GNUNET_SOCIAL_Place *place, | 465 | GNUNET_SOCIAL_place_watch (struct GNUNET_SOCIAL_Place *place, |
466 | const char *object_filter, | 466 | const char *object_filter, |
467 | GNUNET_PSYC_StateCallback state_cb, | 467 | GNUNET_PSYC_StateCallback state_cb, |
468 | void *state_cb_cls); | 468 | void *state_cb_cls); |
469 | 469 | ||
470 | 470 | ||
471 | /** | 471 | /** |
@@ -490,8 +490,8 @@ struct GNUNET_SOCIAL_LookHandle; | |||
490 | */ | 490 | */ |
491 | struct GNUNET_SOCIAL_LookHandle * | 491 | struct GNUNET_SOCIAL_LookHandle * |
492 | GNUNET_SOCIAL_place_look (struct GNUNET_SOCIAL_Place *place, | 492 | GNUNET_SOCIAL_place_look (struct GNUNET_SOCIAL_Place *place, |
493 | GNUNET_PSYC_StateCallback state_cb, | 493 | GNUNET_PSYC_StateCallback state_cb, |
494 | void *state_cb_cls); | 494 | void *state_cb_cls); |
495 | 495 | ||
496 | 496 | ||
497 | /** | 497 | /** |
@@ -506,9 +506,9 @@ GNUNET_SOCIAL_place_look (struct GNUNET_SOCIAL_Place *place, | |||
506 | */ | 506 | */ |
507 | struct GNUNET_SOCIAL_LookHandle * | 507 | struct GNUNET_SOCIAL_LookHandle * |
508 | GNUNET_SOCIAL_place_look_for (struct GNUNET_SOCIAL_Place *place, | 508 | GNUNET_SOCIAL_place_look_for (struct GNUNET_SOCIAL_Place *place, |
509 | const char *object_filter, | 509 | const char *object_filter, |
510 | GNUNET_PSYC_StateCallback state_cb, | 510 | GNUNET_PSYC_StateCallback state_cb, |
511 | void *state_cb_cls); | 511 | void *state_cb_cls); |
512 | 512 | ||
513 | 513 | ||
514 | /** | 514 | /** |
@@ -531,8 +531,8 @@ GNUNET_SOCIAL_place_look_cancel (struct GNUNET_SOCIAL_LookHandle *lh); | |||
531 | */ | 531 | */ |
532 | const void * | 532 | const void * |
533 | GNUNET_SOCIAL_place_look_at (struct GNUNET_SOCIAL_Place *place, | 533 | GNUNET_SOCIAL_place_look_at (struct GNUNET_SOCIAL_Place *place, |
534 | const char *object_name, | 534 | const char *object_name, |
535 | size_t *value_size); | 535 | size_t *value_size); |
536 | 536 | ||
537 | 537 | ||
538 | /** | 538 | /** |
@@ -596,8 +596,8 @@ struct GNUNET_SOCIAL_HistoryLesson; | |||
596 | */ | 596 | */ |
597 | struct GNUNET_SOCIAL_HistoryLesson * | 597 | struct GNUNET_SOCIAL_HistoryLesson * |
598 | GNUNET_SOCIAL_place_get_history (struct GNUNET_SOCIAL_Place *place, | 598 | GNUNET_SOCIAL_place_get_history (struct GNUNET_SOCIAL_Place *place, |
599 | uint64_t start_message_id, | 599 | uint64_t start_message_id, |
600 | uint64_t end_message_id, | 600 | uint64_t end_message_id, |
601 | const struct GNUNET_SOCIAL_Slicer *slicer, | 601 | const struct GNUNET_SOCIAL_Slicer *slicer, |
602 | void (*finish_cb)(void *), | 602 | void (*finish_cb)(void *), |
603 | void *finish_cb_cls); | 603 | void *finish_cb_cls); |