From 35f09be2533858f06caf522ad6613bd41dac8f7c Mon Sep 17 00:00:00 2001 From: Henning Rogge Date: Wed, 26 Mar 2008 15:01:08 +0100 Subject: [PATCH] Small change in comments --- src/lq_plugin.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/lq_plugin.c b/src/lq_plugin.c index 336c3797..23f2c95c 100644 --- a/src/lq_plugin.c +++ b/src/lq_plugin.c @@ -252,12 +252,24 @@ const char *get_link_entry_text(struct link_entry *entry, struct lqtextbuffer *b * value in the same context (a single printf command for example). * * @param pointer to tc_edge_entry - * @return pointer to a buffer with the text representation + * @param pointer to buffer + * @return pointer to the buffer with the text representation */ const char *get_tc_edge_entry_text(struct tc_edge_entry *entry, struct lqtextbuffer *buffer) { return active_lq_handler->print_tc_lq(entry->linkquality, buffer); } +/* + * get_linkcost_text + * + * This function transforms an olsr_linkcost value into it's text representation and copies + * the result into a buffer. + * + * @param linkcost value + * @param true to transform the cost of a route, false for a link + * @param pointer to buffer + * @return pointer to buffer filled with text + */ const char *get_linkcost_text(olsr_linkcost cost, olsr_bool route, struct lqtextbuffer *buffer) { static const char *infinite = "INFINITE"; -- 2.20.1