diff options
author | Gabor X Toth <*@tg-x.net> | 2016-02-01 14:59:22 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2016-02-01 14:59:22 +0000 |
commit | 522bd40f4cee9e5546d15128f76d18799017220c (patch) | |
tree | 4935b3752d559ba4e28c32320c0115e2f3fa2dc6 /src/include/gnunet_social_service.h | |
parent | 5af3181a70b7ec8ac792507ffa9eab581cc03470 (diff) | |
download | gnunet-522bd40f4cee9e5546d15128f76d18799017220c.tar.gz gnunet-522bd40f4cee9e5546d15128f76d18799017220c.zip |
social: api, doc
Diffstat (limited to 'src/include/gnunet_social_service.h')
-rw-r--r-- | src/include/gnunet_social_service.h | 47 |
1 files changed, 20 insertions, 27 deletions
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h index b8b452dfa..1392587ad 100644 --- a/src/include/gnunet_social_service.h +++ b/src/include/gnunet_social_service.h | |||
@@ -457,21 +457,28 @@ GNUNET_SOCIAL_nym_get_pub_key_hash (const struct GNUNET_SOCIAL_Nym *nym); | |||
457 | * reference remains valid until the #GNUNET_SOCIAL_FarewellCallback is invoked | 457 | * reference remains valid until the #GNUNET_SOCIAL_FarewellCallback is invoked |
458 | * for it. | 458 | * for it. |
459 | * | 459 | * |
460 | * @param cls Closure. | 460 | * @param cls |
461 | * @param nym Handle for the user who wants to enter. | 461 | * Closure. |
462 | * @param method_name Method name in the entry request. | 462 | * @param nym |
463 | * @param variable_count Number of elements in the @a variables array. | 463 | * Handle for the user who wants to enter. |
464 | * @param variables Variables present in the message. | 464 | * @param method_name |
465 | * @param data_size Number of bytes in @a data. | 465 | * Method name in the entry request. |
466 | * @param data Payload given on enter (e.g. a password). | 466 | * @param variable_count |
467 | * Number of elements in the @a variables array. | ||
468 | * @param variables | ||
469 | * Variables present in the message. | ||
470 | * @param data | ||
471 | * Payload given on enter (e.g. a password). | ||
472 | * @param data_size | ||
473 | * Number of bytes in @a data. | ||
467 | */ | 474 | */ |
468 | typedef void | 475 | typedef void |
469 | (*GNUNET_SOCIAL_AnswerDoorCallback) (void *cls, | 476 | (*GNUNET_SOCIAL_AnswerDoorCallback) (void *cls, |
470 | struct GNUNET_SOCIAL_Nym *nym, | 477 | struct GNUNET_SOCIAL_Nym *nym, |
471 | const char *method_name, | 478 | const char *method_name, |
472 | struct GNUNET_PSYC_Environment *env, | 479 | struct GNUNET_PSYC_Environment *env, |
473 | size_t data_size, | 480 | const void *data, |
474 | const void *data); | 481 | size_t data_size); |
475 | 482 | ||
476 | 483 | ||
477 | /** | 484 | /** |
@@ -589,14 +596,8 @@ GNUNET_SOCIAL_host_enter_reconnect (struct GNUNET_SOCIAL_HostConnection *hconn, | |||
589 | * #GNUNET_YES if @a nym is admitted, | 596 | * #GNUNET_YES if @a nym is admitted, |
590 | * #GNUNET_NO if @a nym is refused entry, | 597 | * #GNUNET_NO if @a nym is refused entry, |
591 | * #GNUNET_SYSERR if we cannot answer the request. | 598 | * #GNUNET_SYSERR if we cannot answer the request. |
592 | * @param method_name | 599 | * @param entry_resp |
593 | * Method name for the rejection message. | 600 | * Entry response message, or NULL. |
594 | * @param env | ||
595 | * Environment containing variables for the message, or NULL. | ||
596 | * @param data | ||
597 | * Data for the rejection message to send back. | ||
598 | * @param data_size | ||
599 | * Number of bytes in @a data for method. | ||
600 | * @return #GNUNET_OK on success, | 601 | * @return #GNUNET_OK on success, |
601 | * #GNUNET_SYSERR if the message is too large. | 602 | * #GNUNET_SYSERR if the message is too large. |
602 | */ | 603 | */ |
@@ -860,14 +861,8 @@ typedef void | |||
860 | * Number of elements in the @a relays array. | 861 | * Number of elements in the @a relays array. |
861 | * @param relays | 862 | * @param relays |
862 | * Relays for the underlying multicast group. | 863 | * Relays for the underlying multicast group. |
863 | * @param method_name | 864 | * @param entry_msg |
864 | * Method name for the message. | 865 | * Entry message. |
865 | * @param env | ||
866 | * Environment containing variables for the message, or NULL. | ||
867 | * @param data | ||
868 | * Payload for the message to give to the enter callback. | ||
869 | * @param data_size | ||
870 | * Number of bytes in @a data. | ||
871 | * @param slicer | 866 | * @param slicer |
872 | * Slicer to use for processing incoming requests from guests. | 867 | * Slicer to use for processing incoming requests from guests. |
873 | * | 868 | * |
@@ -1190,8 +1185,6 @@ struct GNUNET_SOCIAL_LookHandle; | |||
1190 | * The place to look the object at. | 1185 | * The place to look the object at. |
1191 | * @param full_name | 1186 | * @param full_name |
1192 | * Full name of the object. | 1187 | * Full name of the object. |
1193 | * @param value_size | ||
1194 | * Set to the size of the returned value. | ||
1195 | * | 1188 | * |
1196 | * @return NULL if there is no such object at this place. | 1189 | * @return NULL if there is no such object at this place. |
1197 | */ | 1190 | */ |