Macros | Functions
ahost.c File Reference
#include "ares_setup.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "ares.h"
#include "ares_dns.h"
#include "ares_getopt.h"
#include "ares_ipv6.h"
#include "ares_nowarn.h"
#include "ares_strdup.h"
#include "ares_strcasecmp.h"
Include dependency graph for ahost.c:

Go to the source code of this file.

Macros

#define strcasecmp(p1, p2)   ares_strcasecmp(p1,p2)
 
#define strdup(ptr)   ares_strdup(ptr)
 
#define strncasecmp(p1, p2, n)   ares_strncasecmp(p1,p2,n)
 

Functions

static void callback (void *arg, int status, int timeouts, struct hostent *host)
 
int main (int argc, char **argv)
 
static void print_help_info_ahost (void)
 
static void usage (void)
 

Macro Definition Documentation

◆ strcasecmp

#define strcasecmp (   p1,
  p2 
)    ares_strcasecmp(p1,p2)

Definition at line 42 of file ahost.c.

◆ strdup

#define strdup (   ptr)    ares_strdup(ptr)

Definition at line 37 of file ahost.c.

◆ strncasecmp

#define strncasecmp (   p1,
  p2,
  n 
)    ares_strncasecmp(p1,p2,n)

Definition at line 47 of file ahost.c.

Function Documentation

◆ callback()

static void callback ( void *  arg,
int  status,
int  timeouts,
struct hostent *  host 
)
static

Definition at line 176 of file ahost.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 54 of file ahost.c.

◆ print_help_info_ahost()

static void print_help_info_ahost ( void  )
static

Definition at line 215 of file ahost.c.

◆ usage()

static void usage ( void  )
static

Definition at line 208 of file ahost.c.



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