changeset 955:a25b24118833

Document AVP_BY_NAME_ALL_VENDORS.
author Thomas Klausner <tk@giga.or.at>
date Fri, 22 Feb 2013 01:17:08 +0100
parents 09af899b017b
children 21fdff3a601f
files include/freeDiameter/libfdproto.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h	Fri Feb 22 00:38:42 2013 +0100
+++ b/include/freeDiameter/libfdproto.h	Fri Feb 22 01:17:08 2013 +0100
@@ -1438,6 +1438,9 @@
 	 ret = fd_dict_search ( dict, DICT_AVP, AVP_BY_NAME, "User-Name", &avp_username, ENOENT);
 	 
 	 ret = fd_dict_search ( dict, DICT_AVP, AVP_BY_NAME_AND_VENDOR, &avpvendorboolean, &avp_sampleboolean, ENOENT);
+
+	 -- this would also work, but be slower, because it has to search all vendor dictionaries --
+	 ret = fd_dict_search ( dict, DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Sample-Boolean", &avp_sampleboolean, ENOENT);
 	 
  }
  
"Welcome to our mercurial repository"