diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-04 08:10:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-04 08:10:00 +0000 |
commit | fb199b4553100aa977d4d2f4a108bb0a27a705d2 (patch) | |
tree | 03f6fbb293c879d3015a599ce6da2419d55da92b /src/include | |
parent | e3445ef22cc8478bb6cdca2b35f20f7f3325c697 (diff) | |
download | gnunet-fb199b4553100aa977d4d2f4a108bb0a27a705d2.tar.gz gnunet-fb199b4553100aa977d4d2f4a108bb0a27a705d2.zip |
chat indent -- Mantis 1665
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_chat_service.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/include/gnunet_chat_service.h b/src/include/gnunet_chat_service.h index 732d625f2..0a45cf533 100644 --- a/src/include/gnunet_chat_service.h +++ b/src/include/gnunet_chat_service.h | |||
@@ -110,12 +110,12 @@ typedef int (*GNUNET_CHAT_JoinCallback) (void *cls); | |||
110 | * accept (but user is away), GNUNET_SYSERR to signal denied delivery | 110 | * accept (but user is away), GNUNET_SYSERR to signal denied delivery |
111 | */ | 111 | */ |
112 | typedef int (*GNUNET_CHAT_MessageCallback) (void *cls, | 112 | typedef int (*GNUNET_CHAT_MessageCallback) (void *cls, |
113 | struct GNUNET_CHAT_Room *room, | 113 | struct GNUNET_CHAT_Room *room, |
114 | const GNUNET_HashCode *sender, | 114 | const GNUNET_HashCode *sender, |
115 | const struct GNUNET_CONTAINER_MetaData *member_info, | 115 | const struct GNUNET_CONTAINER_MetaData *member_info, |
116 | const char *message, | 116 | const char *message, |
117 | struct GNUNET_TIME_Absolute timestamp, | 117 | struct GNUNET_TIME_Absolute timestamp, |
118 | enum GNUNET_CHAT_MsgOptions options); | 118 | enum GNUNET_CHAT_MsgOptions options); |
119 | 119 | ||
120 | /** | 120 | /** |
121 | * Callback used for notification that another room member has joined or left. | 121 | * Callback used for notification that another room member has joined or left. |
@@ -128,9 +128,9 @@ typedef int (*GNUNET_CHAT_MessageCallback) (void *cls, | |||
128 | * @return GNUNET_OK | 128 | * @return GNUNET_OK |
129 | */ | 129 | */ |
130 | typedef int (*GNUNET_CHAT_MemberListCallback) (void *cls, | 130 | typedef int (*GNUNET_CHAT_MemberListCallback) (void *cls, |
131 | const struct GNUNET_CONTAINER_MetaData *member_info, | 131 | const struct GNUNET_CONTAINER_MetaData *member_info, |
132 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, | 132 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, |
133 | enum GNUNET_CHAT_MsgOptions options); | 133 | enum GNUNET_CHAT_MsgOptions options); |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Callback used for message delivery confirmations. | 136 | * Callback used for message delivery confirmations. |
@@ -144,10 +144,10 @@ typedef int (*GNUNET_CHAT_MemberListCallback) (void *cls, | |||
144 | * confirmations from anyone for this message | 144 | * confirmations from anyone for this message |
145 | */ | 145 | */ |
146 | typedef int (*GNUNET_CHAT_MessageConfirmation) (void *cls, | 146 | typedef int (*GNUNET_CHAT_MessageConfirmation) (void *cls, |
147 | struct GNUNET_CHAT_Room *room, | 147 | struct GNUNET_CHAT_Room *room, |
148 | uint32_t orig_seq_number, | 148 | uint32_t orig_seq_number, |
149 | struct GNUNET_TIME_Absolute timestamp, | 149 | struct GNUNET_TIME_Absolute timestamp, |
150 | const GNUNET_HashCode *receiver); | 150 | const GNUNET_HashCode *receiver); |
151 | 151 | ||
152 | /** | 152 | /** |
153 | * Join a chat room. | 153 | * Join a chat room. |
@@ -175,19 +175,19 @@ typedef int (*GNUNET_CHAT_MessageConfirmation) (void *cls, | |||
175 | */ | 175 | */ |
176 | struct GNUNET_CHAT_Room * | 176 | struct GNUNET_CHAT_Room * |
177 | GNUNET_CHAT_join_room (const struct GNUNET_CONFIGURATION_Handle *cfg, | 177 | GNUNET_CHAT_join_room (const struct GNUNET_CONFIGURATION_Handle *cfg, |
178 | const char *nick_name, | 178 | const char *nick_name, |
179 | struct GNUNET_CONTAINER_MetaData *member_info, | 179 | struct GNUNET_CONTAINER_MetaData *member_info, |
180 | const char *room_name, | 180 | const char *room_name, |
181 | enum GNUNET_CHAT_MsgOptions msg_options, | 181 | enum GNUNET_CHAT_MsgOptions msg_options, |
182 | GNUNET_CHAT_JoinCallback joinCallback, | 182 | GNUNET_CHAT_JoinCallback joinCallback, |
183 | void *join_cls, | 183 | void *join_cls, |
184 | GNUNET_CHAT_MessageCallback messageCallback, | 184 | GNUNET_CHAT_MessageCallback messageCallback, |
185 | void *message_cls, | 185 | void *message_cls, |
186 | GNUNET_CHAT_MemberListCallback memberCallback, | 186 | GNUNET_CHAT_MemberListCallback memberCallback, |
187 | void *member_cls, | 187 | void *member_cls, |
188 | GNUNET_CHAT_MessageConfirmation confirmationCallback, | 188 | GNUNET_CHAT_MessageConfirmation confirmationCallback, |
189 | void *confirmation_cls, | 189 | void *confirmation_cls, |
190 | GNUNET_HashCode *me); | 190 | GNUNET_HashCode *me); |
191 | 191 | ||
192 | /** | 192 | /** |
193 | * Send a message. | 193 | * Send a message. |
@@ -200,10 +200,10 @@ GNUNET_CHAT_join_room (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
200 | */ | 200 | */ |
201 | void | 201 | void |
202 | GNUNET_CHAT_send_message (struct GNUNET_CHAT_Room *room, | 202 | GNUNET_CHAT_send_message (struct GNUNET_CHAT_Room *room, |
203 | const char *message, | 203 | const char *message, |
204 | enum GNUNET_CHAT_MsgOptions options, | 204 | enum GNUNET_CHAT_MsgOptions options, |
205 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *receiver, | 205 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *receiver, |
206 | uint32_t *sequence_number); | 206 | uint32_t *sequence_number); |
207 | 207 | ||
208 | 208 | ||
209 | /** | 209 | /** |