diff options
Diffstat (limited to 'src/include/gnunet_server_lib.h')
-rw-r--r-- | src/include/gnunet_server_lib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h index 0195a2898..d1097450f 100644 --- a/src/include/gnunet_server_lib.h +++ b/src/include/gnunet_server_lib.h | |||
@@ -288,7 +288,7 @@ GNUNET_SERVER_client_persist_ (struct GNUNET_SERVER_Client *client); | |||
288 | * serious error) | 288 | * serious error) |
289 | */ | 289 | */ |
290 | void | 290 | void |
291 | GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, | 291 | GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, |
292 | int success); | 292 | int success); |
293 | 293 | ||
294 | 294 | ||
@@ -326,7 +326,7 @@ GNUNET_SERVER_client_get_user_context_ (struct GNUNET_SERVER_Client *client, | |||
326 | * @param ptr pointer to user context | 326 | * @param ptr pointer to user context |
327 | * @param size number of bytes in user context struct (for verification only) | 327 | * @param size number of bytes in user context struct (for verification only) |
328 | */ | 328 | */ |
329 | void | 329 | void |
330 | GNUNET_SERVER_client_set_user_context_ (struct GNUNET_SERVER_Client *client, | 330 | GNUNET_SERVER_client_set_user_context_ (struct GNUNET_SERVER_Client *client, |
331 | void *ptr, | 331 | void *ptr, |
332 | size_t size); | 332 | size_t size); |
@@ -500,7 +500,7 @@ GNUNET_SERVER_connect_notify (struct GNUNET_SERVER_Handle *server, | |||
500 | 500 | ||
501 | /** | 501 | /** |
502 | * Ask the server to stop notifying us whenever a client disconnects. | 502 | * Ask the server to stop notifying us whenever a client disconnects. |
503 | * Arguments must match exactly those given to | 503 | * Arguments must match exactly those given to |
504 | * #GNUNET_SERVER_disconnect_notify. It is not necessary to call this | 504 | * #GNUNET_SERVER_disconnect_notify. It is not necessary to call this |
505 | * function during shutdown of the server; in fact, most applications | 505 | * function during shutdown of the server; in fact, most applications |
506 | * will never use this function. | 506 | * will never use this function. |
@@ -517,7 +517,7 @@ GNUNET_SERVER_disconnect_notify_cancel (struct GNUNET_SERVER_Handle *server, | |||
517 | 517 | ||
518 | /** | 518 | /** |
519 | * Ask the server to stop notifying us whenever a client connects. | 519 | * Ask the server to stop notifying us whenever a client connects. |
520 | * Arguments must match exactly those given to | 520 | * Arguments must match exactly those given to |
521 | * #GNUNET_SERVER_connect_notify. It is not necessary to call this | 521 | * #GNUNET_SERVER_connect_notify. It is not necessary to call this |
522 | * function during shutdown of the server; in fact, most applications | 522 | * function during shutdown of the server; in fact, most applications |
523 | * will never use this function. | 523 | * will never use this function. |
@@ -693,7 +693,7 @@ GNUNET_SERVER_notification_context_add (struct GNUNET_SERVER_NotificationContext | |||
693 | void | 693 | void |
694 | GNUNET_SERVER_notification_context_unicast (struct GNUNET_SERVER_NotificationContext *nc, | 694 | GNUNET_SERVER_notification_context_unicast (struct GNUNET_SERVER_NotificationContext *nc, |
695 | struct GNUNET_SERVER_Client *client, | 695 | struct GNUNET_SERVER_Client *client, |
696 | const struct GNUNET_MessageHeader *msg, | 696 | const struct GNUNET_MessageHeader *msg, |
697 | int can_drop); | 697 | int can_drop); |
698 | 698 | ||
699 | 699 | ||
@@ -706,7 +706,7 @@ GNUNET_SERVER_notification_context_unicast (struct GNUNET_SERVER_NotificationCon | |||
706 | */ | 706 | */ |
707 | void | 707 | void |
708 | GNUNET_SERVER_notification_context_broadcast (struct GNUNET_SERVER_NotificationContext *nc, | 708 | GNUNET_SERVER_notification_context_broadcast (struct GNUNET_SERVER_NotificationContext *nc, |
709 | const struct GNUNET_MessageHeader *msg, | 709 | const struct GNUNET_MessageHeader *msg, |
710 | int can_drop); | 710 | int can_drop); |
711 | 711 | ||
712 | 712 | ||
@@ -811,7 +811,7 @@ typedef void (*GNUNET_SERVER_MstDestroyCallback) (void *cls, void *mst); | |||
811 | * @param one_shot only call callback once, keep rest of message in buffer | 811 | * @param one_shot only call callback once, keep rest of message in buffer |
812 | * @return #GNUNET_OK if we are done processing (need more data) | 812 | * @return #GNUNET_OK if we are done processing (need more data) |
813 | * #GNUNET_NO if one_shot was set and we have another message ready | 813 | * #GNUNET_NO if one_shot was set and we have another message ready |
814 | * #GNUNET_SYSERR if the data stream is corrupt | 814 | * #GNUNET_SYSERR if the data stream is corrupt |
815 | */ | 815 | */ |
816 | typedef int (*GNUNET_SERVER_MstReceiveCallback) (void *cls, void *mst, | 816 | typedef int (*GNUNET_SERVER_MstReceiveCallback) (void *cls, void *mst, |
817 | struct GNUNET_SERVER_Client *client, | 817 | struct GNUNET_SERVER_Client *client, |