[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13714 - gnunet/src/vpn
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13714 - gnunet/src/vpn |
Date: |
Wed, 17 Nov 2010 09:55:36 +0100 |
Author: toelke
Date: 2010-11-17 09:55:36 +0100 (Wed, 17 Nov 2010)
New Revision: 13714
Modified:
gnunet/src/vpn/gnunet-daemon-vpn.c
Log:
fold a bit
Modified: gnunet/src/vpn/gnunet-daemon-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-daemon-vpn.c 2010-11-17 08:55:36 UTC (rev 13713)
+++ gnunet/src/vpn/gnunet-daemon-vpn.c 2010-11-17 08:55:36 UTC (rev 13714)
@@ -134,6 +134,7 @@
/**
* Callback called by notify_transmit_ready; sends dns-queries or
rehijack-messages
* to the service-dns
+ * {{{
*/
static size_t
send_query(void* cls, size_t size, void* buf) {
@@ -181,9 +182,11 @@
return len;
}
+/* }}} */
/**
* Function scheduled as very last function, cleans up after us
+ *{{{
*/
static void
cleanup(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tskctx) {
@@ -205,9 +208,11 @@
dns_connection = NULL;
}
}
+/*}}}*/
/**
* Start the helper-process
+ * {{{
*/
static void
start_helper_and_schedule(void *cls,
@@ -236,9 +241,11 @@
GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
fh_from_helper, &helper_read, NULL);
}
+/*}}}*/
/**
* Restart the helper-process
+ * {{{
*/
static void
restart_helper(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tskctx) {
@@ -254,9 +261,11 @@
/* Restart the helper */
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
start_helper_and_schedule, NULL);
}
+/*}}}*/
/**
* Read from the helper-process
+ * {{{
*/
static void
helper_read(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx) {
@@ -279,6 +288,7 @@
GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
fh_from_helper, &helper_read, NULL);
}
+/*}}}*/
/**
* Calculate the checksum of an IPv4-Header
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13714 - gnunet/src/vpn,
gnunet <=