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

Defines | Typedefs | Enumerations | Functions

sres_sip.h File Reference

Asynchronous resolver for SIP. More...

#include <sofia-sip/su_types.h>
#include <sofia-sip/su_addrinfo.h>
#include <sofia-sip/url.h>
#include <sofia-resolv/sres.h>
Include dependency graph for sres_sip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SOFIA_SIP_SRES_SIP_H
#define SRES_SIP_MAGIC_T   struct sres_sip_magic_s
#define TPPROTO_NONE   TPPROTO_NONE
#define TPPROTO_SCTP   TPPROTO_SCTP
#define TPPROTO_TCP   TPPROTO_TCP
#define TPPROTO_TLS   TPPROTO_TLS
#define TPPROTO_UDP   TPPROTO_UDP

Typedefs

typedef SRES_SIP_MAGIC_T sres_sip_magic_t
typedef void sres_sip_notify_f (sres_sip_magic_t *context, sres_sip_t *resolver, int error)
typedef
typedefSOFIA_BEGIN_DECLS
struct sres_sip_s 
sres_sip_t

Enumerations

enum  {
  SRES_SIP_ERR_FAULT = -1, SRES_SIP_ERR_BAD_URI = -2, SRES_SIP_ERR_BAD_HINTS = -3, SRES_SIP_ERR_NO_NAME = -4,
  SRES_SIP_ERR_NO_DATA = -5, SRES_SIP_ERR_NO_TPORT = -6, SRES_SIP_ERR_FAIL = -7, SRES_SIP_ERR_AGAIN = -8,
  SRES_SIP_ERR_INTERNAL = -9, _SRES_SIP_ERR_LAST
}
enum  {
  TPPROTO_TCP = 6, TPPROTO_UDP = 17, TPPROTO_SCTP = 132, TPPROTO_SECURE = 256,
  TPPROTO_TLS = TPPROTO_SECURE | TPPROTO_TCP, TPPROTO_NONE = 0
}

Functions

SOFIAPUBFUN int sres_sip_error (sres_sip_t *nr)
SOFIAPUBFUN sres_sip_t * sres_sip_new (sres_resolver_t *sres, url_string_t const *url, su_addrinfo_t const *hints, int naptr, int srv, sres_sip_notify_f *callback, sres_sip_magic_t *magic)
SOFIAPUBFUN su_addrinfo_t const * sres_sip_next (sres_sip_t *)
SOFIAPUBFUN int sres_sip_next_step (sres_sip_t *nr)
SOFIAPUBFUN sres_sip_t * sres_sip_ref (sres_sip_t *)
SOFIAPUBFUN su_addrinfo_t const * sres_sip_results (sres_sip_t *)
SOFIAPUBFUN void sres_sip_unref (sres_sip_t *)

Detailed Description

Asynchronous resolver for SIP.

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

Definition in file sres_sip.h.


Generated by  Doxygen 1.6.0   Back to index