diff include/freeDiameter/libfreeDiameter.h @ 124:cc42d8607114

Completed cleanups of queues when the daemon is stopping
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 10 Dec 2009 14:15:04 +0900
parents 5b3868944e2b
children 50d1dc19b221
line wrap: on
line diff
--- a/include/freeDiameter/libfreeDiameter.h	Wed Dec 09 19:02:31 2009 +0900
+++ b/include/freeDiameter/libfreeDiameter.h	Thu Dec 10 14:15:04 2009 +0900
@@ -1632,7 +1632,7 @@
 void fd_rtd_candidate_del(struct rt_data * rtd, char * peerid, size_t sz /* if !0, peerid does not need to be \0 terminated */);
 
 /* Extract the list of valid candidates, and initialize their scores to 0 */
-void fd_rtd_candidate_extract(struct rt_data * rtd, struct fd_list ** candidates);
+void fd_rtd_candidate_extract(struct rt_data * rtd, struct fd_list ** candidates, int ini_score);
 
 /* If a peer returned a protocol error for this message, save it so that we don't try to send it there again */
 int  fd_rtd_error_add(struct rt_data * rtd, char * sentto, uint8_t * origin, size_t originsz, uint32_t rcode);
@@ -2605,7 +2605,7 @@
  *
  * PARAMETERS:
  *  queue	: The queue from which the element must be retrieved.
- *  msg		: On return, the message is stored here.
+ *  item	: On return, the first element of the queue is stored here.
  *
  * DESCRIPTION: 
  *  This function is similar to fd_fifo_get, except that it will not block if 
"Welcome to our mercurial repository"