23 #ifndef _API_HANDLE_H_ 24 #define _API_HANDLE_H_ int bh_root_release(int rid)
void(* bh_destroyf)(BH_BIND *bind)
int(* bh_mapf)(BH_INTERFACE *ifs, BH_BIND *bind, void *arg)
int create_handle_context(bh_provider *prov, BH_ROOT_TYPE rt, BH_INTERFACE **ifs)
int bh_root_acquire(int *rid, BH_ROOT_TYPE rt)
int bh_get_rid(BIND_HANDLE bh, int *rid)
int bh_root_unlock(int rid)
int bh_root_lock(int rid, BH_INTERFACE **ifs)