aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_social_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_social_service.h')
-rw-r--r--src/include/gnunet_social_service.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h
index 501efe433..36a7e7ed2 100644
--- a/src/include/gnunet_social_service.h
+++ b/src/include/gnunet_social_service.h
@@ -189,15 +189,15 @@ GNUNET_SOCIAL_ego_destroy (struct GNUNET_SOCIAL_Ego *ego);
189 * @param nym Handle for the user who wants to enter. 189 * @param nym Handle for the user who wants to enter.
190 * @param header_length Number of modifiers in header. 190 * @param header_length Number of modifiers in header.
191 * @param header Modifiers present in the message. 191 * @param header Modifiers present in the message.
192 * @param msg_size Number of bytes in @a msg. 192 * @param data_size Number of bytes in @a data.
193 * @param msg Payload given on enter (e.g. a password). 193 * @param data Payload given on enter (e.g. a password).
194 */ 194 */
195typedef void (*GNUNET_SOCIAL_AnswerDoorCallback)(void *cls, 195typedef 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 msg_size, 199 size_t data_size,
200 const void *msg); 200 const void *data);
201 201
202 202
203/** 203/**
@@ -283,16 +283,16 @@ GNUNET_SOCIAL_home_eject (struct GNUNET_SOCIAL_Home *home,
283 * @param nym Handle for the entity that wanted to enter. 283 * @param nym Handle for the entity that wanted to enter.
284 * @param method_name Method name for the rejection message. 284 * @param method_name Method name for the rejection message.
285 * @param env Environment containing variables for the message, or NULL. 285 * @param env Environment containing variables for the message, or NULL.
286 * @param msg_size Number of bytes in @a message for method. 286 * @param data_size Number of bytes in @a data for method.
287 * @param msg Rejection message to send back. 287 * @param data Data for the rejection message to send back.
288 */ 288 */
289void 289void
290GNUNET_SOCIAL_home_reject_entry (struct GNUNET_SOCIAL_Home *home, 290GNUNET_SOCIAL_home_reject_entry (struct GNUNET_SOCIAL_Home *home,
291 struct GNUNET_SOCIAL_Nym *nym, 291 struct GNUNET_SOCIAL_Nym *nym,
292 const char *method_name, 292 const char *method_name,
293 const struct GNUNET_ENV_Environment *env, 293 const struct GNUNET_ENV_Environment *env,
294 size_t msg_size, 294 size_t data_size,
295 const void *msg); 295 const void *data);
296 296
297 297
298/** 298/**
@@ -411,8 +411,8 @@ GNUNET_SOCIAL_home_destroy (struct GNUNET_SOCIAL_Home *home);
411 * 'PLACE' record in the GADS zone with the public key 'HEX', and can be 411 * 'PLACE' record in the GADS zone with the public key 'HEX', and can be
412 * used to request entry to a pseudonym's place directly. 412 * used to request entry to a pseudonym's place directly.
413 * @param env Environment containing variables for the message, or NULL. 413 * @param env Environment containing variables for the message, or NULL.
414 * @param msg_size Number of bytes in @a msg. 414 * @param data_size Number of bytes in @a data.
415 * @param msg Message to give to the enter callback. 415 * @param data Payload for the message to give to the enter callback.
416 * @param slicer Slicer to use for processing incoming requests from guests. 416 * @param slicer Slicer to use for processing incoming requests from guests.
417 * @return NULL on errors, otherwise handle to the place. 417 * @return NULL on errors, otherwise handle to the place.
418 */ 418 */
@@ -421,8 +421,8 @@ GNUNET_SOCIAL_place_enter (const struct GNUNET_CONFIGURATION_Handle *cfg,
421 struct GNUNET_SOCIAL_Ego *ego, 421 struct GNUNET_SOCIAL_Ego *ego,
422 char *address, 422 char *address,
423 const struct GNUNET_ENV_Environment *env, 423 const struct GNUNET_ENV_Environment *env,
424 size_t msg_size, 424 size_t data_size,
425 const void *msg, 425 const void *data,
426 struct GNUNET_SOCIAL_Slicer *slicer); 426 struct GNUNET_SOCIAL_Slicer *slicer);
427 427
428/** 428/**
@@ -434,8 +434,8 @@ GNUNET_SOCIAL_place_enter (const struct GNUNET_CONFIGURATION_Handle *cfg,
434 * @param peer Peer to send request to. 434 * @param peer Peer to send request to.
435 * @param slicer Slicer to use for processing incoming requests from guests. 435 * @param slicer Slicer to use for processing incoming requests from guests.
436 * @param env Environment containing variables for the message, or NULL. 436 * @param env Environment containing variables for the message, or NULL.
437 * @param msg_size Number of bytes in @a msg. 437 * @param data_size Number of bytes in @a data.
438 * @param msg Message to give to the enter callback. 438 * @param data Payload for the message to give to the enter callback.
439 * @return NULL on errors, otherwise handle to the place. 439 * @return NULL on errors, otherwise handle to the place.
440 */ 440 */
441struct GNUNET_SOCIAL_Place * 441struct GNUNET_SOCIAL_Place *
@@ -445,8 +445,8 @@ GNUNET_SOCIAL_place_enter2 (const struct GNUNET_CONFIGURATION_Handle *cfg,
445 struct GNUNET_PeerIdentity *peer, 445 struct GNUNET_PeerIdentity *peer,
446 struct GNUNET_SOCIAL_Slicer *slicer, 446 struct GNUNET_SOCIAL_Slicer *slicer,
447 const struct GNUNET_ENV_Environment *env, 447 const struct GNUNET_ENV_Environment *env,
448 size_t msg_size, 448 size_t data_size,
449 const void *msg); 449 const void *data);
450 450
451 451
452struct GNUNET_SOCIAL_WatchHandle; 452struct GNUNET_SOCIAL_WatchHandle;