diff include/freeDiameter/libfreeDiameter.h @ 168:6db078b955e3

Completed rt_default extension
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 02 Feb 2010 10:15:05 +0900
parents e2dc300819b3
children 2b2f78036749
line wrap: on
line diff
--- a/include/freeDiameter/libfreeDiameter.h	Fri Jan 29 18:57:40 2010 +0900
+++ b/include/freeDiameter/libfreeDiameter.h	Tue Feb 02 10:15:05 2010 +0900
@@ -1631,7 +1631,7 @@
 /*============================================================*/
 
 /* The following functions are helpers for the routing module. 
-  The routing data is stored in the message it-self. */
+  The routing data is stored in the message itself. */
 
 /* Structure that contains the routing data for a message */
 struct rt_data;
@@ -1641,7 +1641,7 @@
 void fd_rtd_free(struct rt_data ** rtd);
 
 /* Add a peer to the candidates list */
-int  fd_rtd_candidate_add(struct rt_data * rtd, char * peerid);
+int  fd_rtd_candidate_add(struct rt_data * rtd, char * peerid, char * realm);
 
 /* 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 */);
@@ -1656,6 +1656,7 @@
 struct rtd_candidate {
 	struct fd_list	chain;	/* link in the list returned by the previous fct */
 	char *		diamid;	/* the diameter Id of the peer */
+	char *		realm;	/* the diameter realm of the peer (if known) */
 	int		score;	/* the current routing score for this peer, see fd_rt_out_register definition for details */
 };
 
"Welcome to our mercurial repository"