diff options
author | Gabor X Toth <*@tg-x.net> | 2016-01-27 20:45:38 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2016-01-27 20:45:38 +0000 |
commit | bc88a11b2a64ee389f1eb29eb30487fc5f22a475 (patch) | |
tree | 6b1943d4d2c7fa4e75e66564f6c99136418b49da /src/include/gnunet_social_service.h | |
parent | d4ffe9082fa632d5696611dc5977852cc6397bce (diff) | |
download | gnunet-bc88a11b2a64ee389f1eb29eb30487fc5f22a475.tar.gz gnunet-bc88a11b2a64ee389f1eb29eb30487fc5f22a475.zip |
social api: some missing bits
Diffstat (limited to 'src/include/gnunet_social_service.h')
-rw-r--r-- | src/include/gnunet_social_service.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h index 26b335fac..b8b452dfa 100644 --- a/src/include/gnunet_social_service.h +++ b/src/include/gnunet_social_service.h | |||
@@ -814,12 +814,15 @@ GNUNET_SOCIAL_host_leave (struct GNUNET_SOCIAL_Host *hst, | |||
814 | * #GNUNET_OK on success, or | 814 | * #GNUNET_OK on success, or |
815 | * #GNUNET_SYSERR on error, e.g. could not connect to the service, or | 815 | * #GNUNET_SYSERR on error, e.g. could not connect to the service, or |
816 | * could not resolve GNS name. | 816 | * could not resolve GNS name. |
817 | * @param place_pub_key | ||
818 | * Public key of place. | ||
817 | * @param max_message_id | 819 | * @param max_message_id |
818 | * Last message ID sent to the place. | 820 | * Last message ID sent to the place. |
819 | * Or 0 if no messages have been sent to the place yet. | 821 | * Or 0 if no messages have been sent to the place yet. |
820 | */ | 822 | */ |
821 | typedef void | 823 | typedef void |
822 | (*GNUNET_SOCIAL_GuestEnterCallback) (void *cls, int result, | 824 | (*GNUNET_SOCIAL_GuestEnterCallback) (void *cls, int result, |
825 | const struct GNUNET_CRYPTO_EddsaPublicKey *place_pub_key, | ||
823 | uint64_t max_message_id); | 826 | uint64_t max_message_id); |
824 | 827 | ||
825 | 828 | ||
@@ -1069,6 +1072,18 @@ struct GNUNET_SOCIAL_HistoryRequest; | |||
1069 | 1072 | ||
1070 | 1073 | ||
1071 | /** | 1074 | /** |
1075 | * Get the public key of a place. | ||
1076 | * | ||
1077 | * @param plc | ||
1078 | * Place. | ||
1079 | * | ||
1080 | * @return Public key of the place. | ||
1081 | */ | ||
1082 | const struct GNUNET_CRYPTO_EddsaPublicKey * | ||
1083 | GNUNET_SOCIAL_place_get_pub_key (const struct GNUNET_SOCIAL_Place *plc); | ||
1084 | |||
1085 | |||
1086 | /** | ||
1072 | * Set message processing @a flags for a @a method_prefix. | 1087 | * Set message processing @a flags for a @a method_prefix. |
1073 | * | 1088 | * |
1074 | * @param plc | 1089 | * @param plc |