diff options
Diffstat (limited to 'src/include/gnunet_messenger_service.h')
-rw-r--r-- | src/include/gnunet_messenger_service.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h index ff503de52..12f021d35 100644 --- a/src/include/gnunet_messenger_service.h +++ b/src/include/gnunet_messenger_service.h | |||
@@ -613,9 +613,9 @@ typedef int | |||
613 | * @param[in] cfg Configuration to use | 613 | * @param[in] cfg Configuration to use |
614 | * @param[in] name Name to look up an ego or NULL to stay anonymous | 614 | * @param[in] name Name to look up an ego or NULL to stay anonymous |
615 | * @param[in] identity_callback Function called when the EGO of the handle changes | 615 | * @param[in] identity_callback Function called when the EGO of the handle changes |
616 | * @param[in/out] identity_cls Closure for the <i>identity_callback</i> handler | 616 | * @param[in,out] identity_cls Closure for the <i>identity_callback</i> handler |
617 | * @param[in] msg_callback Function called when a new message is sent or received | 617 | * @param[in] msg_callback Function called when a new message is sent or received |
618 | * @param[in/out] msg_cls Closure for the <i>msg_callback</i> handler | 618 | * @param[in,out] msg_cls Closure for the <i>msg_callback</i> handler |
619 | * @return Messenger handle to use, NULL on error | 619 | * @return Messenger handle to use, NULL on error |
620 | */ | 620 | */ |
621 | struct GNUNET_MESSENGER_Handle* | 621 | struct GNUNET_MESSENGER_Handle* |
@@ -634,7 +634,7 @@ GNUNET_MESSENGER_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
634 | * Keep in mind that this will fully delete the old ego key (if any is used) even if any other service wants to use it | 634 | * Keep in mind that this will fully delete the old ego key (if any is used) even if any other service wants to use it |
635 | * as default. | 635 | * as default. |
636 | * | 636 | * |
637 | * @param[in/out] handle Messenger handle to use | 637 | * @param[in,out] handle Messenger handle to use |
638 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure | 638 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure |
639 | */ | 639 | */ |
640 | int | 640 | int |
@@ -643,7 +643,7 @@ GNUNET_MESSENGER_update (struct GNUNET_MESSENGER_Handle *handle); | |||
643 | /** | 643 | /** |
644 | * Disconnect all of the messengers used services and clears up its used memory. | 644 | * Disconnect all of the messengers used services and clears up its used memory. |
645 | * | 645 | * |
646 | * @param[in/out] handle Messenger handle to use | 646 | * @param[in,out] handle Messenger handle to use |
647 | */ | 647 | */ |
648 | void | 648 | void |
649 | GNUNET_MESSENGER_disconnect (struct GNUNET_MESSENGER_Handle *handle); | 649 | GNUNET_MESSENGER_disconnect (struct GNUNET_MESSENGER_Handle *handle); |
@@ -662,7 +662,7 @@ GNUNET_MESSENGER_get_name (const struct GNUNET_MESSENGER_Handle *handle); | |||
662 | * name to its new directory. If anything fails during this process the function returns #GNUNET_NO and the name for | 662 | * name to its new directory. If anything fails during this process the function returns #GNUNET_NO and the name for |
663 | * the messenger won't change as specified. | 663 | * the messenger won't change as specified. |
664 | * | 664 | * |
665 | * @param[in/out] handle Messenger handle to use | 665 | * @param[in,out] handle Messenger handle to use |
666 | * @param[in] name Name for the messenger to change to | 666 | * @param[in] name Name for the messenger to change to |
667 | * @return #GNUNET_YES on success, #GNUNET_NO on failure and #GNUNET_SYSERR if <i>handle</i> is NULL | 667 | * @return #GNUNET_YES on success, #GNUNET_NO on failure and #GNUNET_SYSERR if <i>handle</i> is NULL |
668 | */ | 668 | */ |
@@ -691,7 +691,7 @@ GNUNET_MESSENGER_get_key (const struct GNUNET_MESSENGER_Handle *handle); | |||
691 | * | 691 | * |
692 | * ( All <b>doors</b> form a ring structured network to shorten the latency sending and receiving messages. ) | 692 | * ( All <b>doors</b> form a ring structured network to shorten the latency sending and receiving messages. ) |
693 | * | 693 | * |
694 | * @param[in/out] handle Messenger handle to use | 694 | * @param[in,out] handle Messenger handle to use |
695 | * @param[in] key Hash identifying the port | 695 | * @param[in] key Hash identifying the port |
696 | * @return Room handle, NULL on error | 696 | * @return Room handle, NULL on error |
697 | */ | 697 | */ |
@@ -712,7 +712,7 @@ GNUNET_MESSENGER_open_room (struct GNUNET_MESSENGER_Handle *handle, | |||
712 | * | 712 | * |
713 | * ( All <b>doors</b> form a ring structured network to shorten the latency sending and receiving messages. ) | 713 | * ( All <b>doors</b> form a ring structured network to shorten the latency sending and receiving messages. ) |
714 | * | 714 | * |
715 | * @param[in/out] handle Messenger handle to use | 715 | * @param[in,out] handle Messenger handle to use |
716 | * @param[in] door Peer identity of an open <b>door</b> | 716 | * @param[in] door Peer identity of an open <b>door</b> |
717 | * @param[in] key Hash identifying the port | 717 | * @param[in] key Hash identifying the port |
718 | * @return Room handle, NULL on error | 718 | * @return Room handle, NULL on error |
@@ -729,7 +729,7 @@ GNUNET_MESSENGER_enter_room (struct GNUNET_MESSENGER_Handle *handle, | |||
729 | * ( After a member closes a <b>door</b>, all members entered through that specific <b>door</b> have to use another one | 729 | * ( After a member closes a <b>door</b>, all members entered through that specific <b>door</b> have to use another one |
730 | * or open the room on their own. ) | 730 | * or open the room on their own. ) |
731 | * | 731 | * |
732 | * @param[in/out] room Room handle | 732 | * @param[in,out] room Room handle |
733 | */ | 733 | */ |
734 | void | 734 | void |
735 | GNUNET_MESSENGER_close_room (struct GNUNET_MESSENGER_Room *room); | 735 | GNUNET_MESSENGER_close_room (struct GNUNET_MESSENGER_Room *room); |
@@ -805,7 +805,7 @@ GNUNET_MESSENGER_contact_get_key (const struct GNUNET_MESSENGER_Contact *contact | |||
805 | * | 805 | * |
806 | * Sending a message to all members in a given room can be done by providing NULL as contact. | 806 | * Sending a message to all members in a given room can be done by providing NULL as contact. |
807 | * | 807 | * |
808 | * @param[in/out] room Room handle | 808 | * @param[in,out] room Room handle |
809 | * @param[in] message New message to send | 809 | * @param[in] message New message to send |
810 | * @param[in] contact Contact or NULL | 810 | * @param[in] contact Contact or NULL |
811 | */ | 811 | */ |