Classes | Functions
ares_query.c File Reference
#include "ares_setup.h"
#include "ares_nameser.h"
#include "ares.h"
#include "ares_dns.h"
#include "ares_private.h"
Include dependency graph for ares_query.c:

Go to the source code of this file.

Classes

struct  qquery
 

Functions

unsigned short ares__generate_new_id (rc4_key *key)
 
void ares_query (ares_channel channel, const char *name, int dnsclass, int type, ares_callback callback, void *arg)
 
static struct queryfind_query_by_id (ares_channel channel, unsigned short id)
 
static unsigned short generate_unique_id (ares_channel channel)
 
static void qcallback (void *arg, int status, int timeouts, unsigned char *abuf, int alen)
 
static void rc4 (rc4_key *key, unsigned char *buffer_ptr, int buffer_len)
 

Function Documentation

◆ ares__generate_new_id()

unsigned short ares__generate_new_id ( rc4_key key)

Definition at line 98 of file ares_query.c.

◆ ares_query()

void ares_query ( ares_channel  channel,
const char *  name,
int  dnsclass,
int  type,
ares_callback  callback,
void *  arg 
)

Definition at line 105 of file ares_query.c.

◆ find_query_by_id()

static struct query* find_query_by_id ( ares_channel  channel,
unsigned short  id 
)
static

Definition at line 62 of file ares_query.c.

◆ generate_unique_id()

static unsigned short generate_unique_id ( ares_channel  channel)
static

Definition at line 87 of file ares_query.c.

◆ qcallback()

static void qcallback ( void *  arg,
int  status,
int  timeouts,
unsigned char *  abuf,
int  alen 
)
static

Definition at line 141 of file ares_query.c.

◆ rc4()

static void rc4 ( rc4_key key,
unsigned char *  buffer_ptr,
int  buffer_len 
)
static

Definition at line 36 of file ares_query.c.



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