Index: src/chat/test_chat.c =================================================================== --- src/chat/test_chat.c (revision 14858) +++ src/chat/test_chat.c (working copy) @@ -64,7 +64,7 @@ const char *me; - enum GNUNET_CHAT_MsgOptions opt; + uint32_t opt; uint32_t sequence_number; @@ -200,7 +200,7 @@ member_list_cb (void *cls, const struct GNUNET_CONTAINER_MetaData *member_info, const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, - enum GNUNET_CHAT_MsgOptions options) + uint32_t options) { struct Wanted *want = cls; GNUNET_HashCode sender; @@ -246,7 +246,7 @@ const struct GNUNET_CONTAINER_MetaData *meta, const char *message, struct GNUNET_TIME_Absolute timestamp, - enum GNUNET_CHAT_MsgOptions options) + uint32_t options) { struct Wanted *want = cls; @@ -409,7 +409,7 @@ send_to_bob (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { - enum GNUNET_CHAT_MsgOptions options; + uint32_t options; uint32_t *seq = NULL; #if VERBOSE Index: src/chat/chat.c =================================================================== --- src/chat/chat.c (revision 14858) +++ src/chat/chat.c (working copy) @@ -114,7 +114,7 @@ /** * Options for the message. */ - enum GNUNET_CHAT_MsgOptions options; + uint32_t options; /** * Receiver of the message. NULL to send to everyone in the room. @@ -665,7 +665,7 @@ const char *nick_name, struct GNUNET_CONTAINER_MetaData *member_info, const char *room_name, - enum GNUNET_CHAT_MsgOptions msg_options, + uint32_t msg_options, GNUNET_CHAT_JoinCallback joinCallback, void *join_cls, GNUNET_CHAT_MessageCallback messageCallback, @@ -824,7 +824,7 @@ void GNUNET_CHAT_send_message (struct GNUNET_CHAT_Room *room, const char *message, - enum GNUNET_CHAT_MsgOptions options, + uint32_t options, const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *receiver, uint32_t *sequence_number) { Index: src/chat/test_chat_private.c =================================================================== --- src/chat/test_chat_private.c (revision 14858) +++ src/chat/test_chat_private.c (working copy) @@ -70,7 +70,7 @@ const char *me; - enum GNUNET_CHAT_MsgOptions opt; + uint32_t opt; struct GNUNET_TIME_Absolute timestamp; @@ -219,7 +219,7 @@ member_list_cb (void *cls, const struct GNUNET_CONTAINER_MetaData *member_info, const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, - enum GNUNET_CHAT_MsgOptions options) + uint32_t options) { struct Wanted *want = cls; GNUNET_HashCode sender; @@ -287,7 +287,7 @@ const struct GNUNET_CONTAINER_MetaData *meta, const char *message, struct GNUNET_TIME_Absolute timestamp, - enum GNUNET_CHAT_MsgOptions options) + uint32_t options) { struct Wanted *want = cls; Index: src/chat/gnunet-chat.c =================================================================== --- src/chat/gnunet-chat.c (revision 14858) +++ src/chat/gnunet-chat.c (working copy) @@ -111,7 +111,7 @@ const struct GNUNET_CONTAINER_MetaData *member_info, const char *message, struct GNUNET_TIME_Absolute timestamp, - enum GNUNET_CHAT_MsgOptions options) + uint32_t options) { char *nick; char *time; @@ -207,7 +207,7 @@ member_list_cb (void *cls, const struct GNUNET_CONTAINER_MetaData *member_info, const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, - enum GNUNET_CHAT_MsgOptions options) + uint32_t options) { char *nick; GNUNET_HashCode id; Index: src/include/gnunet_chat_service.h =================================================================== --- src/include/gnunet_chat_service.h (revision 14858) +++ src/include/gnunet_chat_service.h (working copy) @@ -115,7 +115,7 @@ const struct GNUNET_CONTAINER_MetaData *member_info, const char *message, struct GNUNET_TIME_Absolute timestamp, - enum GNUNET_CHAT_MsgOptions options); + uint32_t options); /** * Callback used for notification that another room member has joined or left. @@ -130,7 +130,7 @@ typedef int (*GNUNET_CHAT_MemberListCallback) (void *cls, const struct GNUNET_CONTAINER_MetaData *member_info, const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, - enum GNUNET_CHAT_MsgOptions options); + uint32_t options); /** * Callback used for message delivery confirmations. @@ -178,7 +178,7 @@ const char *nick_name, struct GNUNET_CONTAINER_MetaData *member_info, const char *room_name, - enum GNUNET_CHAT_MsgOptions msg_options, + uint32_t msg_options, GNUNET_CHAT_JoinCallback joinCallback, void *join_cls, GNUNET_CHAT_MessageCallback messageCallback, @@ -201,7 +201,7 @@ void GNUNET_CHAT_send_message (struct GNUNET_CHAT_Room *room, const char *message, - enum GNUNET_CHAT_MsgOptions options, + uint32_t options, const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *receiver, uint32_t *sequence_number);