On 5/9/06, Thomas Rosenblatt <[EMAIL PROTECTED]> wrote:
I was wondering if it was possible to copy a su_home_t object into an other su_home_t object.
Nope, there is not.
In my case, I need to parse the resolv.conf file once, and not each time I want to resolve a dnsRequest. To do so, I would like to copy the sres_config_t object parsed once, into the resolver home memory.
Is there a problem keeping a sres_resolver_t object around? The sres_config_t is not threadsafe, in other words, the resolver object owning the sres_config_t structure may replace it with another after the /etc/resolv.conf is changed. It may be possible to add reference counting there, however. Hmm. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
