diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-02 20:49:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-02 20:49:01 +0000 |
commit | 0452911c66bfbd8852eea27d90108be97aa84982 (patch) | |
tree | 9f59ff4a397754b5598a08917381b28cf6fe291f /src/util/helper.c | |
parent | 6a34f8a03004e15e28e7ac11261ab9585e223b75 (diff) | |
download | gnunet-0452911c66bfbd8852eea27d90108be97aa84982.tar.gz gnunet-0452911c66bfbd8852eea27d90108be97aa84982.zip |
-docu helper api better
Diffstat (limited to 'src/util/helper.c')
-rw-r--r-- | src/util/helper.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/helper.c b/src/util/helper.c index c9523f203..0da702876 100644 --- a/src/util/helper.c +++ b/src/util/helper.c | |||
@@ -541,8 +541,8 @@ GNUNET_HELPER_destroy (struct GNUNET_HELPER_Handle *h) | |||
541 | * Kills the helper, closes the pipe and frees the handle | 541 | * Kills the helper, closes the pipe and frees the handle |
542 | * | 542 | * |
543 | * @param h handle to helper to stop | 543 | * @param h handle to helper to stop |
544 | * @param soft_kill if GNUNET_YES, signals termination by closing the helper's | 544 | * @param soft_kill if #GNUNET_YES, signals termination by closing the helper's |
545 | * stdin; GNUNET_NO to signal termination by sending SIGTERM to helper | 545 | * stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper |
546 | */ | 546 | */ |
547 | void | 547 | void |
548 | GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h, int soft_kill) | 548 | GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h, int soft_kill) |
@@ -624,9 +624,9 @@ helper_write (void *cls, | |||
624 | * @param h helper to send message to | 624 | * @param h helper to send message to |
625 | * @param msg message to send | 625 | * @param msg message to send |
626 | * @param can_drop can the message be dropped if there is already one in the queue? | 626 | * @param can_drop can the message be dropped if there is already one in the queue? |
627 | * @param cont continuation to run once the message is out (PREREQ_DONE on succees, CANCEL | 627 | * @param cont continuation to run once the message is out (#GNUNET_OK on succees, #GNUNET_NO |
628 | * if the helper process died, NULL during GNUNET_HELPER_stop). | 628 | * if the helper process died, #GNUNET_SYSERR during #GNUNET_HELPER_destroy). |
629 | * @param cont_cls closure for 'cont' | 629 | * @param cont_cls closure for @a cont |
630 | * @return NULL if the message was dropped, | 630 | * @return NULL if the message was dropped, |
631 | * otherwise handle to cancel *cont* (actual transmission may | 631 | * otherwise handle to cancel *cont* (actual transmission may |
632 | * not be abortable) | 632 | * not be abortable) |
@@ -666,7 +666,7 @@ GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h, | |||
666 | } | 666 | } |
667 | 667 | ||
668 | /** | 668 | /** |
669 | * Cancel a 'send' operation. If possible, transmitting the | 669 | * Cancel a #GNUNET_HELPER_send operation. If possible, transmitting the |
670 | * message is also aborted, but at least 'cont' won't be | 670 | * message is also aborted, but at least 'cont' won't be |
671 | * called. | 671 | * called. |
672 | * | 672 | * |