diff options
Diffstat (limited to 'src/include/gnunet_chat_service.h')
-rw-r--r-- | src/include/gnunet_chat_service.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_chat_service.h b/src/include/gnunet_chat_service.h index 723c280e6..d9c3ec76f 100644 --- a/src/include/gnunet_chat_service.h +++ b/src/include/gnunet_chat_service.h | |||
@@ -213,12 +213,12 @@ struct GNUNET_CHAT_Room *GNUNET_CHAT_join_room (const struct | |||
213 | * @param receiver use NULL to send to everyone in the room | 213 | * @param receiver use NULL to send to everyone in the room |
214 | * @param sequence_number where to write the sequence id of the message | 214 | * @param sequence_number where to write the sequence id of the message |
215 | */ | 215 | */ |
216 | void | 216 | void GNUNET_CHAT_send_message (struct GNUNET_CHAT_Room *room, |
217 | GNUNET_CHAT_send_message (struct GNUNET_CHAT_Room *room, | 217 | const char *message, |
218 | const char *message, | 218 | enum GNUNET_CHAT_MsgOptions options, |
219 | enum GNUNET_CHAT_MsgOptions options, | 219 | const struct |
220 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded | 220 | GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded |
221 | *receiver, uint32_t * sequence_number); | 221 | *receiver, uint32_t * sequence_number); |
222 | 222 | ||
223 | 223 | ||
224 | /** | 224 | /** |
@@ -234,8 +234,8 @@ void GNUNET_CHAT_leave_room (struct GNUNET_CHAT_Room *chat_room); | |||
234 | * | 234 | * |
235 | * @return GNUNET_OK to continue, GNUNET_SYSERR to abort iteration | 235 | * @return GNUNET_OK to continue, GNUNET_SYSERR to abort iteration |
236 | */ | 236 | */ |
237 | typedef int (*GNUNET_CHAT_RoomIterator) (const char *room, | 237 | typedef int (*GNUNET_CHAT_RoomIterator) (const char *room, const char *topic, |
238 | const char *topic, void *cls); | 238 | void *cls); |
239 | 239 | ||
240 | /** | 240 | /** |
241 | * List all of the (publically visible) chat rooms. | 241 | * List all of the (publically visible) chat rooms. |