diff options
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn-helper.h')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn-helper.h | 28 |
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 | */ |
41 | void start_helper_and_schedule (void *cls, | 41 | void |
42 | const struct GNUNET_SCHEDULER_TaskContext *tc); | 42 | start_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 | */ |
47 | void restart_helper (void *cls, | 48 | void |
48 | const struct GNUNET_SCHEDULER_TaskContext *tskctx); | 49 | restart_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 | */ |
53 | void helper_read (void *cls, | 54 | void |
54 | const struct GNUNET_SCHEDULER_TaskContext *tsdkctx); | 55 | helper_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 | */ |
59 | void helper_write (void *cls, | 60 | void |
60 | const struct GNUNET_SCHEDULER_TaskContext *tsdkctx); | 61 | helper_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 | */ |
65 | void message_token (void *cls, void *client, | 66 | void |
66 | const struct GNUNET_MessageHeader *message); | 67 | message_token (void *cls, void *client, |
68 | const struct GNUNET_MessageHeader *message); | ||
67 | 69 | ||
68 | void write_to_helper (void *buf, size_t len); | 70 | void |
71 | write_to_helper (void *buf, size_t len); | ||
69 | 72 | ||
70 | void schedule_helper_write (struct GNUNET_TIME_Relative, void *cls); | 73 | void |
74 | schedule_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 */ |