Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

sresolv.h File Reference


Detailed Description

Defined when <sofia-sip/sresolv.h> has been included. Easy API for Sofia DNS Resolver.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>,

Teemu Jalava <Teemu.Jalava@nokia.com>,

Mikko Haataja <ext-Mikko.A.Haataja@nokia.com>.

Definition in file sresolv.h.

#include <sofia-sip/su.h>
#include <sofia-sip/su_wait.h>
#include <sofia-sip/su_tag.h>
#include <sofia-resolv/sres.h>
#include <sofia-resolv/sres_record.h>
#include <sofia-resolv/sres_async.h>

Go to the source code of this file.

Defines

#define SRESOLVTAG_ANY()   srestag_any, ((tag_value_t)0)
#define SRESTAG_CACHE(x)   srestag_cache, tag_ptr_v((x))
#define SRESTAG_CACHE_REF(x)   srestag_cache_ref, tag_ptr_vr(&(x), (x))
#define SRESTAG_RESOLV_CONF(x)   srestag_resolv_conf, tag_str_v((x))
#define SRESTAG_RESOLV_CONF_REF(x)   srestag_resolv_conf_ref, tag_str_vr(&(x))

Functions

SOFIAPUBFUN sres_resolver_tsres_resolver_create (su_root_t *root, char const *resolv_conf, tag_type_t, tag_value_t,...)
SOFIAPUBFUN int sres_resolver_destroy (sres_resolver_t *res)
SOFIAPUBFUN su_socket_t sres_resolver_root_socket (sres_resolver_t *res)

Variables

SOFIAPUBVAR tag_typedef_t srestag_any
SOFIAPUBVAR tag_typedef_t srestag_cache
SOFIAPUBVAR tag_typedef_t srestag_cache_ref
SOFIAPUBVAR tag_typedef_t srestag_resolv_conf
SOFIAPUBVAR tag_typedef_t srestag_resolv_conf_ref


Generated by  Doxygen 1.6.0   Back to index