Watt-32 tcp/ip  2.2 dev-rel.10
Data Structures | Typedefs | Enumerations | Functions | Variables
resolv.h File Reference

Go to the source code of this file.

Data Structures

struct  __res_sort
 
struct  __res_state
 

Typedefs

typedef const u_char ** query
 
typedef const u_char int * querylen
 
typedef const u_char int u_char * ans
 
typedef const u_char int u_char int anssiz
 
typedef const u_char int
u_char int int * 
resplen
 

Enumerations

enum  res_sendhookact {
  res_goahead,
  res_nextns,
  res_modified,
  res_done,
  res_error
}
 

Functions

typedef res_sendhookact (W32_CALL *res_send_qhook)(struct sockaddr_in *const *ns
 
__BEGIN_DECLS W32_FUNC int W32_CALL __res_hnok (const char *)
 
W32_FUNC int W32_CALL __res_ownok (const char *)
 
W32_FUNC int W32_CALL __res_mailok (const char *)
 
W32_FUNC int W32_CALL __res_dnok (const char *)
 
W32_FUNC int W32_CALL __loc_aton (const char *ascii, u_char *binary)
 
W32_FUNC char *W32_CALL __loc_ntoa (const u_char *binary, char *ascii)
 
W32_FUNC int W32_CALL __dn_skipname (const u_char *, const u_char *)
 
W32_FUNC void W32_CALL __fp_resstat (struct __res_state *, FILE *)
 
W32_FUNC void W32_CALL __fp_query (const u_char *, FILE *)
 
W32_FUNC void W32_CALL __fp_nquery (const u_char *, int, FILE *)
 
W32_FUNC char *W32_CALL __hostalias (const char *)
 
W32_FUNC void W32_CALL __putlong (u_long, u_char *)
 
W32_FUNC void W32_CALL __putshort (u_short, u_char *)
 
W32_FUNC char *W32_CALL __p_time (u_long)
 
W32_FUNC void W32_CALL __p_query (const u_char *)
 
W32_FUNC const u_char *W32_CALL __p_cdnname (const u_char *, const u_char *, int, FILE *)
 
W32_FUNC const u_char *W32_CALL __p_cdname (const u_char *, const u_char *, FILE *)
 
W32_FUNC const u_char *W32_CALL __p_fqname (const u_char *, const u_char *, FILE *)
 
W32_FUNC const u_char *W32_CALL __p_rr (const u_char *, const u_char *, FILE *)
 
W32_FUNC const char *W32_CALL __p_type (int)
 
W32_FUNC const char *W32_CALL __p_class (int)
 
W32_FUNC const char *W32_CALL __p_option (u_long option)
 
W32_FUNC int W32_CALL dn_comp (const char *, u_char *, int, u_char **, u_char **)
 
W32_FUNC int W32_CALL dn_expand (const u_char *, const u_char *, const u_char *, char *, int)
 
W32_FUNC int W32_CALL res_init (void)
 
W32_FUNC u_short W32_CALL res_randomid (void)
 
W32_FUNC int W32_CALL res_query (const char *, int, int, u_char *, int)
 
W32_FUNC int W32_CALL res_search (const char *, int, int, u_char *, int)
 
W32_FUNC int W32_CALL res_querydomain (const char *, const char *, int, int, u_char *, int)
 
W32_FUNC int W32_CALL res_mkquery (int, const char *, int, int, const u_char *, int, const u_char *, u_char *, int)
 
W32_FUNC int W32_CALL res_send (const u_char *, int, u_char *, int)
 
W32_FUNC int W32_CALL res_isourserver (const struct sockaddr_in *)
 
W32_FUNC int W32_CALL res_nameinquery (const char *, int, int, const u_char *, const u_char *)
 
W32_FUNC int W32_CALL res_queriesmatch (const u_char *, const u_char *, const u_char *, const u_char *)
 
W32_FUNC void W32_CALL res_send_setqhook (res_send_qhook hook)
 
W32_FUNC void W32_CALL res_send_setrhook (res_send_rhook hook)
 

Variables

W32_DATA struct __res_state _res
 
W32_DATA int h_errno
 

Detailed Description

Resolver API.

Definition in file resolv.h.

Function Documentation

W32_FUNC int W32_CALL res_mkquery ( int  ,
const char *  ,
int  ,
int  ,
const u_char *  ,
int  ,
const u_char *  ,
u_char *  ,
int   
)
Todo:
Handle STATUS case

Definition at line 67 of file res_mkqu.c.