static int ki_lookup_branches(sip_msg_t* _m, str* _dtable) { udomain_t* d; if(ul.get_udomain(_dtable->s, &d)<0) { LM_ERR("usrloc domain [%s] not found\n", _dtable->s); return -1; } return lookup_branches(_m, d); }
/*! \brief * Wrapper to lookup_branches(location) */ static int w_lookup_branches(sip_msg_t* _m, char* _d, char* _p2) { return lookup_branches(_m, (udomain_t*)_d); }