|
jabberd14 1.6.2
|
#include <jabberdlib.h>
Public Member Functions | |
| xhash< value_type >::iterator | get_by_domain (std::string domainkey) |
a class implementing a hash with std::string as key and void* as value
This is a replacement for the xht structure in older versions of jabberd14 and the xhash_...() functions are mapped to method calls on this object.
| xmppd::xhash< value_type >::iterator xmppd::xhash< value_type >::get_by_domain | ( | std::string | domainkey | ) |
get an entry from the hash but consider the key to be a domain
This accesor function also matches if the domainkey is a 'subdomain' for a domain in the map. If there are multiple matches, the most specific one is returned. If no match can be found, "*" is tried as a default key.
| domainkey | the key that should be considered as a domain |
Referenced by xhash_get_by_domain().
1.7.4