aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_helper_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-11 18:35:05 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-11 18:35:32 +0200
commit9150ecf15eb4e82037c2d8b30140ab4bccfddc2b (patch)
treeb15ea7d917dabc5dbb9cef5aa6bae68979470d69 /src/include/gnunet_helper_lib.h
parentae7fcd30040c38650aa96286468dc9b0a2178d9e (diff)
downloadgnunet-9150ecf15eb4e82037c2d8b30140ab4bccfddc2b.tar.gz
gnunet-9150ecf15eb4e82037c2d8b30140ab4bccfddc2b.zip
indentation fixes
NEWS: -
Diffstat (limited to 'src/include/gnunet_helper_lib.h')
-rw-r--r--src/include/gnunet_helper_lib.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/include/gnunet_helper_lib.h b/src/include/gnunet_helper_lib.h
index 2279abb24..c329c4a33 100644
--- a/src/include/gnunet_helper_lib.h
+++ b/src/include/gnunet_helper_lib.h
@@ -38,7 +38,7 @@
38 * @{ 38 * @{
39 */ 39 */
40 40
41#if !defined (__GNUNET_UTIL_LIB_H_INSIDE__) 41#if ! defined (__GNUNET_UTIL_LIB_H_INSIDE__)
42#error "Only <gnunet_util_lib.h> can be included directly." 42#error "Only <gnunet_util_lib.h> can be included directly."
43#endif 43#endif
44 44
@@ -99,8 +99,9 @@ GNUNET_HELPER_start (int with_control_pipe,
99 * stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper 99 * stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper
100 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error 100 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error
101 */ 101 */
102int 102enum GNUNET_GenericReturnValue
103GNUNET_HELPER_kill (struct GNUNET_HELPER_Handle *h, int soft_kill); 103GNUNET_HELPER_kill (struct GNUNET_HELPER_Handle *h,
104 int soft_kill);
104 105
105 106
106/** 107/**
@@ -111,7 +112,7 @@ GNUNET_HELPER_kill (struct GNUNET_HELPER_Handle *h, int soft_kill);
111 * @param h the helper handle 112 * @param h the helper handle
112 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error 113 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error
113 */ 114 */
114int 115enum GNUNET_GenericReturnValue
115GNUNET_HELPER_wait (struct GNUNET_HELPER_Handle *h); 116GNUNET_HELPER_wait (struct GNUNET_HELPER_Handle *h);
116 117
117 118
@@ -144,8 +145,10 @@ GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h, int soft_kill);
144 * #GNUNET_NO if helper process died 145 * #GNUNET_NO if helper process died
145 * #GNUNET_SYSERR during GNUNET_HELPER_destroy 146 * #GNUNET_SYSERR during GNUNET_HELPER_destroy
146 */ 147 */
147typedef void (*GNUNET_HELPER_Continuation)(void *cls, 148typedef void
148 int result); 149(*GNUNET_HELPER_Continuation)(
150 void *cls,
151 enum GNUNET_GenericReturnValue result);
149 152
150 153
151/** 154/**