# HG changeset patch # User Thomas Klausner # Date 1361492228 -3600 # Node ID a25b2411883312b9d9f713e00c373e765319f3c3 # Parent 09af899b017b3490bfbeca0f7f1fb109bf4bca15 Document AVP_BY_NAME_ALL_VENDORS. diff -r 09af899b017b -r a25b24118833 include/freeDiameter/libfdproto.h --- 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); }