X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_helper_lib.h;h=191d97b80e71b9d5bfd25df50ec3021ac63dd5dd;hb=6973ade884b8e22e7fcaa51a90d00a8caa2d2fa4;hp=7f43f1a6493ee0363d348c0640aa750df44d8b2e;hpb=a4b74ef335873379d374d372bcce7c4228095bd5;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_helper_lib.h b/src/include/gnunet_helper_lib.h index 7f43f1a64..191d97b80 100644 --- a/src/include/gnunet_helper_lib.h +++ b/src/include/gnunet_helper_lib.h @@ -80,6 +80,16 @@ void GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h); +/** + * Kills the helper by closing its stdin (the helper is expected to catch the + * resulting SIGPIPE and shutdown), closes the pipe and frees the handle + * + * @param h handle to helper to stop + */ +void +GNUNET_HELPER_soft_stop (struct GNUNET_HELPER_Handle *h); + + /** * Continuation function. *