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

sres_cache.h File Reference


Detailed Description

Defined when <sofia-resolv/sres_cache.h> has been included. Sofia DNS Resolver Cache.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>,
Include Context
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sofia-resolv/sres_cache.h>

Definition in file sres_cache.h.

#include "sofia-resolv/sres_config.h"

Go to the source code of this file.

Defines

#define SRES_CACHE_TIMER_INTERVAL   (SRES_CACHE_TIMER_INTERVAL)

Typedefs

typedef struct sres_cache sres_cache_t
typedef union sres_record sres_record_t

Enumerations

enum  { SRES_CACHE_TIMER_INTERVAL = 5, SRES_CACHE_TIMER_INTERVAL = 5 }

Functions

SRESPUBFUN sres_record_tsres_cache_alloc_record (sres_cache_t *cache, sres_record_t const *template, size_t extra)
SRESPUBFUN int sres_cache_filter (sres_cache_t *cache, sres_record_t **answers, uint16_t type)
SRESPUBFUN void sres_cache_free_answers (sres_cache_t *, sres_record_t **)
SRESPUBFUN void sres_cache_free_one (sres_cache_t *, sres_record_t *answer)
SRESPUBFUN void sres_cache_free_record (sres_cache_t *cache, void *rr)
SRESPUBFUN int sres_cache_get (sres_cache_t *cache, uint16_t type, char const *domain, sres_record_t ***return_cached)
SRESPUBFUN sres_cache_tsres_cache_new (int n)
SRESPUBFUN sres_cache_tsres_cache_ref (sres_cache_t *)
SRESPUBFUN void sres_cache_store (sres_cache_t *, sres_record_t *, time_t now)
SRESPUBFUN void sres_cache_unref (sres_cache_t *)


Generated by  Doxygen 1.6.0   Back to index