Macros | Functions
ares_expand_name.c File Reference
#include "ares_setup.h"
#include "ares_nameser.h"
#include "ares.h"
#include "ares_nowarn.h"
#include "ares_private.h"
Include dependency graph for ares_expand_name.c:

Go to the source code of this file.

Macros

#define MAX_INDIRS   50
 

Functions

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

Macro Definition Documentation

◆ MAX_INDIRS

#define MAX_INDIRS   50

Definition at line 30 of file ares_expand_name.c.

Function Documentation

◆ ares__expand_name_for_response()

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

Definition at line 291 of file ares_expand_name.c.

◆ ares__expand_name_validated()

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

Definition at line 107 of file ares_expand_name.c.

◆ ares__isprint()

static int ares__isprint ( int  ch)
static

Definition at line 55 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 203 of file ares_expand_name.c.

◆ is_hostnamech()

static int is_hostnamech ( int  ch)
static

Definition at line 63 of file ares_expand_name.c.

◆ is_reservedch()

static int is_reservedch ( int  ch)
static

Definition at line 36 of file ares_expand_name.c.

◆ name_length()

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

Definition at line 212 of file ares_expand_name.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:03