--- a/src/signals.h Mon Mar 16 23:34:05 2009 +0200
+++ b/src/signals.h Mon Mar 16 23:55:30 2009 +0200
@@ -36,21 +36,26 @@
*/
err_t signals_create (struct signals **signals_ptr, struct event_base *ev_base);
-/*
+/**
* Add a signal to be handled by the given signals struct with the given handler.
*/
err_t signals_add (struct signals *signals, int sigval, void (*sig_handler)(evutil_socket_t, short, void *), void *arg);
-/*
+/**
+ * Ignore the given sigval.
+ */
+err_t signal_ignore (int signum, struct error_info *err);
+
+/**
* Add a set of default signals
* SIGPIPE signals_ignore
* SIGINT signals_loopexit
*/
struct signals *signals_default (struct event_base *ev_base);
-/*
+/**
* Free the resources/handlers associated with the given signal handler set
*/
void signals_free (struct signals *signals);
-#endif /* LIB_SIGNAL_H */
+#endif /* SIGNALS_H */