aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_signal_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-13 12:11:25 +0000
committerChristian Grothoff <christian@grothoff.org>2015-07-13 12:11:25 +0000
commit3a0ad24f06e4c3c0564237fb546e58bdd4f00e6a (patch)
tree888e72a6f164e04ec1c8eb635464753b0edee1a3 /src/include/gnunet_signal_lib.h
parent9246b5973e3ae5eec1d51b35d942dd7e5e9f95d8 (diff)
downloadgnunet-3a0ad24f06e4c3c0564237fb546e58bdd4f00e6a.tar.gz
gnunet-3a0ad24f06e4c3c0564237fb546e58bdd4f00e6a.zip
-indentation fixes
Diffstat (limited to 'src/include/gnunet_signal_lib.h')
-rw-r--r--src/include/gnunet_signal_lib.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/gnunet_signal_lib.h b/src/include/gnunet_signal_lib.h
index 77a02f04a..9cb032b3b 100644
--- a/src/include/gnunet_signal_lib.h
+++ b/src/include/gnunet_signal_lib.h
@@ -41,6 +41,7 @@ extern "C"
41 */ 41 */
42struct GNUNET_SIGNAL_Context; 42struct GNUNET_SIGNAL_Context;
43 43
44
44/** 45/**
45 * A signal handler. Since different OSes have different signatures 46 * A signal handler. Since different OSes have different signatures
46 * for their handlers, the API only gives the most restrictive 47 * for their handlers, the API only gives the most restrictive
@@ -49,7 +50,9 @@ struct GNUNET_SIGNAL_Context;
49 * the implementation must guarantee that this handler is not called 50 * the implementation must guarantee that this handler is not called
50 * for signals other than the one that it has been registered for. 51 * for signals other than the one that it has been registered for.
51 */ 52 */
52typedef void (*GNUNET_SIGNAL_Handler) (void); 53typedef void
54(*GNUNET_SIGNAL_Handler) (void);
55
53 56
54/** 57/**
55 * Install a signal handler that will be run if the 58 * Install a signal handler that will be run if the
@@ -60,7 +63,9 @@ typedef void (*GNUNET_SIGNAL_Handler) (void);
60 * @return context that can be used to restore, NULL on error 63 * @return context that can be used to restore, NULL on error
61 */ 64 */
62struct GNUNET_SIGNAL_Context * 65struct GNUNET_SIGNAL_Context *
63GNUNET_SIGNAL_handler_install (int signal, GNUNET_SIGNAL_Handler handler); 66GNUNET_SIGNAL_handler_install (int signal,
67 GNUNET_SIGNAL_Handler handler);
68
64 69
65/** 70/**
66 * Uninstall a previously installed signal hander. 71 * Uninstall a previously installed signal hander.