diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-06-11 18:35:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-06-11 18:35:32 +0200 |
commit | 9150ecf15eb4e82037c2d8b30140ab4bccfddc2b (patch) | |
tree | b15ea7d917dabc5dbb9cef5aa6bae68979470d69 /src/include/gnunet_helper_lib.h | |
parent | ae7fcd30040c38650aa96286468dc9b0a2178d9e (diff) | |
download | gnunet-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.h | 15 |
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 | */ |
102 | int | 102 | enum GNUNET_GenericReturnValue |
103 | GNUNET_HELPER_kill (struct GNUNET_HELPER_Handle *h, int soft_kill); | 103 | GNUNET_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 | */ |
114 | int | 115 | enum GNUNET_GenericReturnValue |
115 | GNUNET_HELPER_wait (struct GNUNET_HELPER_Handle *h); | 116 | GNUNET_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 | */ |
147 | typedef void (*GNUNET_HELPER_Continuation)(void *cls, | 148 | typedef void |
148 | int result); | 149 | (*GNUNET_HELPER_Continuation)( |
150 | void *cls, | ||
151 | enum GNUNET_GenericReturnValue result); | ||
149 | 152 | ||
150 | 153 | ||
151 | /** | 154 | /** |