Mercurial > hg > freeDiameter
diff include/freeDiameter/libfreeDiameter.h @ 88:9e2db1647d6f
Completed routing module
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 07 Dec 2009 15:51:09 +0900 |
parents | c1c0f8a45c67 |
children | 2c9444152e4b |
line wrap: on
line diff
--- a/include/freeDiameter/libfreeDiameter.h Fri Dec 04 17:23:06 2009 +0900 +++ b/include/freeDiameter/libfreeDiameter.h Mon Dec 07 15:51:09 2009 +0900 @@ -1631,12 +1631,12 @@ /* Remove a peer from the candidates (if it is found) */ 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); + /* 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); -/* 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); - /* The extracted list items have the following structure: */ struct rtd_candidate { struct fd_list chain; /* link in the list returned by the previous fct */