aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-daemon-vpn-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn-helper.h')
-rw-r--r--src/vpn/gnunet-daemon-vpn-helper.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/vpn/gnunet-daemon-vpn-helper.h b/src/vpn/gnunet-daemon-vpn-helper.h
index 85436e2cd..963fafd09 100644
--- a/src/vpn/gnunet-daemon-vpn-helper.h
+++ b/src/vpn/gnunet-daemon-vpn-helper.h
@@ -38,33 +38,35 @@ extern GNUNET_SCHEDULER_TaskIdentifier shs_task;
38/** 38/**
39 * Start the helper-process 39 * Start the helper-process
40 */ 40 */
41void start_helper_and_schedule(void *cls, 41void start_helper_and_schedule (void *cls,
42 const struct GNUNET_SCHEDULER_TaskContext *tc); 42 const struct GNUNET_SCHEDULER_TaskContext *tc);
43 43
44/** 44/**
45 * Restart the helper-process 45 * Restart the helper-process
46 */ 46 */
47void restart_helper(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tskctx); 47void restart_helper (void *cls,
48 const struct GNUNET_SCHEDULER_TaskContext *tskctx);
48 49
49/** 50/**
50 * Read from the helper-process 51 * Read from the helper-process
51 */ 52 */
52void helper_read(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx); 53void helper_read (void *cls,
54 const struct GNUNET_SCHEDULER_TaskContext *tsdkctx);
53 55
54/** 56/**
55 * Send an dns-answer-packet to the helper 57 * Send an dns-answer-packet to the helper
56 */ 58 */
57void helper_write(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx); 59void helper_write (void *cls,
60 const struct GNUNET_SCHEDULER_TaskContext *tsdkctx);
58 61
59/** 62/**
60 * Receive packets from the helper-process 63 * Receive packets from the helper-process
61 */ 64 */
62void message_token(void *cls, 65void message_token (void *cls,
63 void *client, 66 void *client, const struct GNUNET_MessageHeader *message);
64 const struct GNUNET_MessageHeader *message);
65 67
66void write_to_helper(void* buf, size_t len); 68void write_to_helper (void *buf, size_t len);
67 69
68void schedule_helper_write(struct GNUNET_TIME_Relative, void* cls); 70void schedule_helper_write (struct GNUNET_TIME_Relative, void *cls);
69 71
70#endif /* end of include guard: GNUNET-DAEMON-VPN-HELPER_H */ 72#endif /* end of include guard: GNUNET-DAEMON-VPN-HELPER_H */