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.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/vpn/gnunet-daemon-vpn-helper.h b/src/vpn/gnunet-daemon-vpn-helper.h
index 8e0ee5a0f..7329e45ff 100644
--- a/src/vpn/gnunet-daemon-vpn-helper.h
+++ b/src/vpn/gnunet-daemon-vpn-helper.h
@@ -38,35 +38,39 @@ 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
42 const struct GNUNET_SCHEDULER_TaskContext *tc); 42start_helper_and_schedule (void *cls,
43 const struct GNUNET_SCHEDULER_TaskContext *tc);
43 44
44/** 45/**
45 * Restart the helper-process 46 * Restart the helper-process
46 */ 47 */
47void restart_helper (void *cls, 48void
48 const struct GNUNET_SCHEDULER_TaskContext *tskctx); 49restart_helper (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tskctx);
49 50
50/** 51/**
51 * Read from the helper-process 52 * Read from the helper-process
52 */ 53 */
53void helper_read (void *cls, 54void
54 const struct GNUNET_SCHEDULER_TaskContext *tsdkctx); 55helper_read (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tsdkctx);
55 56
56/** 57/**
57 * Send an dns-answer-packet to the helper 58 * Send an dns-answer-packet to the helper
58 */ 59 */
59void helper_write (void *cls, 60void
60 const struct GNUNET_SCHEDULER_TaskContext *tsdkctx); 61helper_write (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tsdkctx);
61 62
62/** 63/**
63 * Receive packets from the helper-process 64 * Receive packets from the helper-process
64 */ 65 */
65void message_token (void *cls, void *client, 66void
66 const struct GNUNET_MessageHeader *message); 67message_token (void *cls, void *client,
68 const struct GNUNET_MessageHeader *message);
67 69
68void write_to_helper (void *buf, size_t len); 70void
71write_to_helper (void *buf, size_t len);
69 72
70void schedule_helper_write (struct GNUNET_TIME_Relative, void *cls); 73void
74schedule_helper_write (struct GNUNET_TIME_Relative, void *cls);
71 75
72#endif /* end of include guard: GNUNET-DAEMON-VPN-HELPER_H */ 76#endif /* end of include guard: GNUNET-DAEMON-VPN-HELPER_H */