Disassociate an OCB from an open request
#include <sys/iofunc.h> #include <sys/resmgr.h> int resmgr_unbind( resmgr_context_t * ctp);
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The resmgr_unbind() function removes a binding in the internal resources manager database (which maps client connections to server OCB pointers). The binding must previously have been bound by resmgr_open_bind()
The binding is reference counted; if multiple connections are established with the same binding, the binding is freed only when the last connection is removed.
You should use MsgInfo() to fill the info structure in ctp with information about which client mapping to retrieve.
MsgInfo(), resmgr_context_t, resmgr_open_bind()
Writing a Resource Manager