/**
* Continuation function.
- *
+ *
* @param cls closure
* @param result #GNUNET_OK on success,
* #GNUNET_NO if helper process died
- * #GNUNET_SYSERR during GNUNET_HELPER_stop
+ * #GNUNET_SYSERR during GNUNET_HELPER_destroy
*/
typedef void (*GNUNET_HELPER_Continuation)(void *cls,
int result);
* @param h helper to send message to
* @param msg message to send
* @param can_drop can the message be dropped if there is already one in the queue?
- * @param cont continuation to run once the message is out
+ * @param cont continuation to run once the message is out (#GNUNET_OK on succees, #GNUNET_NO
+ * if the helper process died, #GNUNET_SYSERR during #GNUNET_HELPER_destroy).
* @param cont_cls closure for @a cont
- * @return NULL if the message was dropped,
- * otherwise handle to cancel *cont* (actual transmission may
+ * @return NULL if the message was dropped,
+ * otherwise handle to cancel @a cont (actual transmission may
* not be abortable)
*/
struct GNUNET_HELPER_SendHandle *
-GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h,
+GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h,
const struct GNUNET_MessageHeader *msg,
int can_drop,
GNUNET_HELPER_Continuation cont,
void
GNUNET_HELPER_send_cancel (struct GNUNET_HELPER_SendHandle *sh);
-#endif
+#endif
/* end of include guard: GNUNET_HELPER_LIB_H */