aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_signal_lib.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-11-28 13:00:55 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-11-28 13:00:55 +0000
commit395ccb4e9581ac7a54c8666371275d2ae90fcca0 (patch)
tree5ea246351d2622f6b16ae0d0befa249cfb25ee4f /src/include/gnunet_signal_lib.h
parent37566e067645bf881b170796251a14d8d20202b8 (diff)
downloadgnunet-395ccb4e9581ac7a54c8666371275d2ae90fcca0.tar.gz
gnunet-395ccb4e9581ac7a54c8666371275d2ae90fcca0.zip
- raise a signal after receiving it from the control pipe by calling the respective callback registered with GNUNET_SIGNAL_handler_install().
Diffstat (limited to 'src/include/gnunet_signal_lib.h')
-rw-r--r--src/include/gnunet_signal_lib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_signal_lib.h b/src/include/gnunet_signal_lib.h
index 04037b4ca..32f8963e0 100644
--- a/src/include/gnunet_signal_lib.h
+++ b/src/include/gnunet_signal_lib.h
@@ -72,6 +72,17 @@ void
72GNUNET_SIGNAL_handler_uninstall (struct GNUNET_SIGNAL_Context *ctx); 72GNUNET_SIGNAL_handler_uninstall (struct GNUNET_SIGNAL_Context *ctx);
73 73
74 74
75/**
76 * Raise the given signal by calling the installed signal handlers. This will
77 * not use the @em raise() system call but only calls the handlers registered
78 * through GNUNET_SIGNAL_handler_install().
79 *
80 * @param sig the signal to raise
81 */
82void
83GNUNET_SIGNAL_raise (const int sig);
84
85
75#if 0 /* keep Emacsens' auto-indent happy */ 86#if 0 /* keep Emacsens' auto-indent happy */
76{ 87{
77#endif 88#endif