- Remove printf, use GNUNET_log INFO
[oweals/gnunet.git] / src / include / gnunet_helper_lib.h
index 7f43f1a6493ee0363d348c0640aa750df44d8b2e..191d97b80e71b9d5bfd25df50ec3021ac63dd5dd 100644 (file)
@@ -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.
  *