aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_helper_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
commitc4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch)
treecac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_helper_lib.h
parentfbb71d527c7d6babf269a8fefce1db291b9f7068 (diff)
downloadgnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz
gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_helper_lib.h')
-rw-r--r--src/include/gnunet_helper_lib.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/gnunet_helper_lib.h b/src/include/gnunet_helper_lib.h
index e6b3ae535..5e72cf76a 100644
--- a/src/include/gnunet_helper_lib.h
+++ b/src/include/gnunet_helper_lib.h
@@ -74,12 +74,12 @@ typedef void
74 * @return the new Handle, NULL on error 74 * @return the new Handle, NULL on error
75 */ 75 */
76struct GNUNET_HELPER_Handle * 76struct GNUNET_HELPER_Handle *
77GNUNET_HELPER_start(int with_control_pipe, 77GNUNET_HELPER_start (int with_control_pipe,
78 const char *binary_name, 78 const char *binary_name,
79 char *const binary_argv[], 79 char *const binary_argv[],
80 GNUNET_MessageTokenizerCallback cb, 80 GNUNET_MessageTokenizerCallback cb,
81 GNUNET_HELPER_ExceptionCallback exp_cb, 81 GNUNET_HELPER_ExceptionCallback exp_cb,
82 void *cb_cls); 82 void *cb_cls);
83 83
84 84
85/** 85/**
@@ -92,7 +92,7 @@ GNUNET_HELPER_start(int with_control_pipe,
92 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error 92 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error
93 */ 93 */
94int 94int
95GNUNET_HELPER_kill(struct GNUNET_HELPER_Handle *h, int soft_kill); 95GNUNET_HELPER_kill (struct GNUNET_HELPER_Handle *h, int soft_kill);
96 96
97 97
98/** 98/**
@@ -104,7 +104,7 @@ GNUNET_HELPER_kill(struct GNUNET_HELPER_Handle *h, int soft_kill);
104 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error 104 * @return #GNUNET_OK on success; #GNUNET_SYSERR on error
105 */ 105 */
106int 106int
107GNUNET_HELPER_wait(struct GNUNET_HELPER_Handle *h); 107GNUNET_HELPER_wait (struct GNUNET_HELPER_Handle *h);
108 108
109 109
110/** 110/**
@@ -113,7 +113,7 @@ GNUNET_HELPER_wait(struct GNUNET_HELPER_Handle *h);
113 * @param h the helper handle to free 113 * @param h the helper handle to free
114 */ 114 */
115void 115void
116GNUNET_HELPER_destroy(struct GNUNET_HELPER_Handle *h); 116GNUNET_HELPER_destroy (struct GNUNET_HELPER_Handle *h);
117 117
118 118
119/** 119/**
@@ -125,7 +125,7 @@ GNUNET_HELPER_destroy(struct GNUNET_HELPER_Handle *h);
125 * stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper 125 * stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper
126 */ 126 */
127void 127void
128GNUNET_HELPER_stop(struct GNUNET_HELPER_Handle *h, int soft_kill); 128GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h, int soft_kill);
129 129
130 130
131/** 131/**
@@ -160,11 +160,11 @@ struct GNUNET_HELPER_SendHandle;
160 * not be abortable) 160 * not be abortable)
161 */ 161 */
162struct GNUNET_HELPER_SendHandle * 162struct GNUNET_HELPER_SendHandle *
163GNUNET_HELPER_send(struct GNUNET_HELPER_Handle *h, 163GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h,
164 const struct GNUNET_MessageHeader *msg, 164 const struct GNUNET_MessageHeader *msg,
165 int can_drop, 165 int can_drop,
166 GNUNET_HELPER_Continuation cont, 166 GNUNET_HELPER_Continuation cont,
167 void *cont_cls); 167 void *cont_cls);
168 168
169 169
170/** 170/**
@@ -174,7 +174,7 @@ GNUNET_HELPER_send(struct GNUNET_HELPER_Handle *h,
174 * @param sh operation to cancel 174 * @param sh operation to cancel
175 */ 175 */
176void 176void
177GNUNET_HELPER_send_cancel(struct GNUNET_HELPER_SendHandle *sh); 177GNUNET_HELPER_send_cancel (struct GNUNET_HELPER_SendHandle *sh);
178 178
179 179
180#endif 180#endif