[Olsr-dev] [olsrd] [PATCH v1 09/29] gateway: add some comments

Ferry Huberts (spam-protected)
Tue Jul 24 18:08:58 CEST 2012


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/gateway_default_handler.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gateway_default_handler.c b/src/gateway_default_handler.c
index 91dc2ef..9a42e28 100644
--- a/src/gateway_default_handler.c
+++ b/src/gateway_default_handler.c
@@ -18,11 +18,15 @@ static bool gw_def_finished_ipv4;
 static bool gw_def_finished_ipv6;
 static struct timer_entry *gw_def_timer;
 
+/* forward declarations */
 static void gw_default_startup_handler(void);
 static void gw_default_choosegw_handler(bool ipv4, bool ipv6);
 static void gw_default_update_handler(struct gateway_entry *);
 static void gw_default_delete_handler(struct gateway_entry *);
 
+/**
+ * Callback list for the gateway (default) handler
+ */
 static struct olsr_gw_handler gw_def_handler = {
   &gw_default_startup_handler,
   &gw_default_choosegw_handler,
-- 
1.7.10.4





More information about the Olsr-dev mailing list