reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
ares_expand_name.c File Reference
#include <sys/types.h>
#include <stdlib.h>
#include <netinet/in.h>
#include "ares_nameser.h"
#include "ares.h"

Go to the source code of this file.

Macros

#define MAX_INDIRS   50
 

Functions

static int name_length (const unsigned char *encoded, const unsigned char *abuf, int alen)
 
static int is_reservedch (int ch)
 
static int ares__isprint (int ch)
 
int ares_expand_name (const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen)
 

Macro Definition Documentation

◆ MAX_INDIRS

#define MAX_INDIRS   50

Definition at line 28 of file ares_expand_name.c.

Function Documentation

◆ ares__isprint()

static int ares__isprint ( int  ch)
static

Definition at line 52 of file ares_expand_name.c.

◆ ares_expand_name()

int ares_expand_name ( const unsigned char *  encoded,
const unsigned char *  abuf,
int  alen,
char **  s,
long *  enclen 
)

Definition at line 83 of file ares_expand_name.c.

◆ is_reservedch()

static int is_reservedch ( int  ch)
static

Definition at line 33 of file ares_expand_name.c.

◆ name_length()

static int name_length ( const unsigned char *  encoded,
const unsigned char *  abuf,
int  alen 
)
static

Definition at line 173 of file ares_expand_name.c.