Changeset 354 for trunk/src/emx/include/resolv.h
- Timestamp:
- Jul 11, 2003, 1:39:47 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/resolv.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r353 r354 34 34 * 35 35 * from: @(#)resolv.h 5.15 (Berkeley) 4/3/91 36 * resolv.h,v 1. 3 2003/05/19 13:20:02bird Exp36 * resolv.h,v 1.4 2003/07/11 11:39:47 bird Exp 37 37 */ 38 38 … … 160 160 #ifdef TCPV40HDRS 161 161 162 /** @name tcpip40 function mappings.163 * @{ */164 #define _res tcpip40__res165 /* @} */166 162 extern struct state _res; 167 163 … … 192 188 res_sendhookact; 193 189 194 typedef res_sendhookact (* _System res_send_qhook)(struct sockaddr_in * const *ns, 190 #ifndef TCPCALL 191 #define TCPCALL _System 192 #endif 193 194 typedef res_sendhookact (* TCPCALL res_send_qhook)(struct sockaddr_in * const *ns, 195 195 const u_char **query, 196 196 int *querylen, … … 199 199 int *resplen); 200 200 201 typedef res_sendhookact (* _Systemres_send_rhook)(const struct sockaddr_in *ns,201 typedef res_sendhookact (* TCPCALL res_send_rhook)(const struct sockaddr_in *ns, 202 202 const u_char *query, 203 203 int querylen, … … 264 264 #define res_close __res_close 265 265 266 int _Systemres_hnok(const char *);267 int _Systemres_ownok(const char *);268 int _Systemres_mailok(const char *);269 int _Systemres_dnok(const char *);270 int _Systemsym_ston(const struct res_sym *, char *, int *);271 const char * _Systemsym_ntos(const struct res_sym *, int, int *);272 const char * _Systemsym_ntop(const struct res_sym *, int, int *);273 int _Systemb64_ntop(u_char const *, size_t, char *, size_t);274 int _Systemb64_pton(char const *, u_char *, size_t);275 int _Systemloc_aton(const char *, u_char *);276 const char * _Systemloc_ntoa(const u_char *, char *);277 int _Systemdn_skipname(const u_char *, const u_char *);278 void _Systemfp_resstat(struct __res_state *, int);279 void _Systemfp_query(const u_char *, int);280 void _Systemfp_nquery(const u_char *, int, int);281 const char * _Systemhostalias(const char *);282 void _Systemputlong(u_int32_t, u_char *);283 void _Systemputshort(u_int16_t, u_char *);284 const char * _Systemp_class(int);285 const char * _Systemp_time(u_int32_t);286 const char * _Systemp_type(int);287 void _Systemp_query(const u_char *);288 const u_char * _Systemp_cdnname(const u_char *, const u_char *, int, int);289 const u_char * _Systemp_cdname(const u_char *, const u_char *, int);290 const u_char * _Systemp_fqnname(const u_char *cp, const u_char *msg,266 int TCPCALL res_hnok(const char *); 267 int TCPCALL res_ownok(const char *); 268 int TCPCALL res_mailok(const char *); 269 int TCPCALL res_dnok(const char *); 270 int TCPCALL sym_ston(const struct res_sym *, char *, int *); 271 const char * TCPCALL sym_ntos(const struct res_sym *, int, int *); 272 const char * TCPCALL sym_ntop(const struct res_sym *, int, int *); 273 int TCPCALL b64_ntop(u_char const *, size_t, char *, size_t); 274 int TCPCALL b64_pton(char const *, u_char *, size_t); 275 int TCPCALL loc_aton(const char *, u_char *); 276 const char * TCPCALL loc_ntoa(const u_char *, char *); 277 int TCPCALL dn_skipname(const u_char *, const u_char *); 278 void TCPCALL fp_resstat(struct __res_state *, int); 279 void TCPCALL fp_query(const u_char *, int); 280 void TCPCALL fp_nquery(const u_char *, int, int); 281 const char * TCPCALL hostalias(const char *); 282 void TCPCALL putlong(u_int32_t, u_char *); 283 void TCPCALL putshort(u_int16_t, u_char *); 284 const char * TCPCALL p_class(int); 285 const char * TCPCALL p_time(u_int32_t); 286 const char * TCPCALL p_type(int); 287 void TCPCALL p_query(const u_char *); 288 const u_char * TCPCALL p_cdnname(const u_char *, const u_char *, int, int); 289 const u_char * TCPCALL p_cdname(const u_char *, const u_char *, int); 290 const u_char * TCPCALL p_fqnname(const u_char *cp, const u_char *msg, 291 291 int, char *, int); 292 const u_char * _Systemp_fqname(const u_char *, const u_char *, int);293 const u_char * _Systemp_rr(const u_char *, const u_char *, int);294 const char * _Systemp_option(u_long option);295 char * _Systemp_secstodate(u_long);296 int _Systemdn_count_labels(char *);297 int _Systemdn_comp(const char *, u_char *, int,292 const u_char * TCPCALL p_fqname(const u_char *, const u_char *, int); 293 const u_char * TCPCALL p_rr(const u_char *, const u_char *, int); 294 const char * TCPCALL p_option(u_long option); 295 char * TCPCALL p_secstodate(u_long); 296 int TCPCALL dn_count_labels(char *); 297 int TCPCALL dn_comp(const char *, u_char *, int, 298 298 u_char **, u_char **); 299 int _Systemdn_expand(const u_char *, const u_char *, const u_char *,299 int TCPCALL dn_expand(const u_char *, const u_char *, const u_char *, 300 300 char *, int); 301 int _Systemres_init(void);302 u_int _Systemres_randomid(void);303 int _Systemres_query(const char *, int, int, u_char *, int);304 int _Systemres_search(const char *, int, int, u_char *, int);305 int _Systemres_querydomain(const char *, const char *, int, int, u_char *, int);306 int _Systemres_mkquery(int, const char *, int, int, const u_char *, int,301 int TCPCALL res_init(void); 302 u_int TCPCALL res_randomid(void); 303 int TCPCALL res_query(const char *, int, int, u_char *, int); 304 int TCPCALL res_search(const char *, int, int, u_char *, int); 305 int TCPCALL res_querydomain(const char *, const char *, int, int, u_char *, int); 306 int TCPCALL res_mkquery(int, const char *, int, int, const u_char *, int, 307 307 const u_char *, u_char *, int); 308 int _Systemres_send(const u_char *, int, u_char *, int);309 int _Systemres_isourserver(const struct sockaddr_in *);310 int _Systemres_nameinquery(const char *, int, int,308 int TCPCALL res_send(const u_char *, int, u_char *, int); 309 int TCPCALL res_isourserver(const struct sockaddr_in *); 310 int TCPCALL res_nameinquery(const char *, int, int, 311 311 const u_char *, const u_char *); 312 int _Systemres_queriesmatch(const u_char *, const u_char *,312 int TCPCALL res_queriesmatch(const u_char *, const u_char *, 313 313 const u_char *, const u_char *); 314 void _Systemres_close(void);315 int _Systemdn_find(u_char *exp_dn, u_char *msg,314 void TCPCALL res_close(void); 315 int TCPCALL dn_find(u_char *exp_dn, u_char *msg, 316 316 u_char **dnptrs, u_char **lastdnptr); 317 317 #endif /* !TCPV40HDRS */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.