Back to index

glibc  2.9
Defines
gethstbynm.c File Reference
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
#include <string.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <nss/getXXbyYY.c>

Go to the source code of this file.

Defines

#define LOOKUP_TYPE   struct hostent
#define FUNCTION_NAME   gethostbyname
#define DATABASE_NAME   hosts
#define ADD_PARAMS   const char *name
#define ADD_VARIABLES   name
#define BUFLEN   1024
#define NEED_H_ERRNO   1
#define HANDLE_DIGITS_DOTS   1

Define Documentation

#define ADD_PARAMS   const char *name

Definition at line 31 of file gethstbynm.c.

#define ADD_VARIABLES   name

Definition at line 32 of file gethstbynm.c.

#define BUFLEN   1024

Definition at line 33 of file gethstbynm.c.

#define DATABASE_NAME   hosts

Definition at line 30 of file gethstbynm.c.

Definition at line 29 of file gethstbynm.c.

#define HANDLE_DIGITS_DOTS   1

Definition at line 36 of file gethstbynm.c.

#define LOOKUP_TYPE   struct hostent

Definition at line 28 of file gethstbynm.c.

#define NEED_H_ERRNO   1

Definition at line 34 of file gethstbynm.c.