From: Henning Rogge Date: Wed, 26 Mar 2008 14:01:08 +0000 (+0100) Subject: Small change in comments X-Git-Tag: OLSRD_0_5_6_RC4~26^2~3^2~18 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=35f09be2533858f06caf522ad6613bd41dac8f7c Small change in comments --- 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";