Mercurial > hg > freeDiameter
diff include/freeDiameter/libfdproto.h @ 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 | 51c15f98a965 |
children | b415d1384e0d |
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); }