Typedefs | Functions

sofia-sip/su_addrinfo.h File Reference

Network address and service translation. More...

#include <sofia-sip/su_types.h>
Include dependency graph for su_addrinfo.h:

Go to the source code of this file.

Typedefs

typedef struct addrinfo su_addrinfo_t
 RFC 1576 address info structure.

Functions

int su_getaddrinfo (char const *node, char const *service, su_addrinfo_t const *hints, su_addrinfo_t **res)
 Translate address and service.
void su_freeaddrinfo (su_addrinfo_t *res)
 Free su_addrinfo_t structure allocated by su_getaddrinfo().
char const * su_gai_strerror (int errcode)
 Return string describing address translation error.

Detailed Description

Network address and service translation.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Wed Nov 30 17:07:04 EET 2005 ppessi

Typedef Documentation

typedef struct addrinfo su_addrinfo_t

RFC 1576 address info structure.


Function Documentation

void su_freeaddrinfo ( su_addrinfo_t res  ) 

Free su_addrinfo_t structure allocated by su_getaddrinfo().

char const* su_gai_strerror ( int  errcode  ) 

Return string describing address translation error.

int su_getaddrinfo ( char const *  node,
char const *  service,
su_addrinfo_t const *  hints,
su_addrinfo_t **  res 
)

Translate address and service.

This is a getaddrinfo() supporting SCTP and other exotic protocols.

 All Data Structures Files Functions Variables Typedefs Enumerator Defines

Sofia-SIP 1.12.11 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.