Changeset 354 for trunk/src/emx/include/arpa
- Timestamp:
- Jul 11, 2003, 1:39:47 PM (22 years ago)
- Location:
- trunk/src/emx/include/arpa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/arpa/inet.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r353 r354 44 44 #endif 45 45 46 47 #ifdef TCPV40HDRS 48 /** @name tcpip40 function mappings. 49 * @{ */ 50 #define inet_addr tcpip40_inet_addr 51 #define inet_lnaof tcpip40_inet_lnaof 52 #define inet_makeaddr tcpip40_inet_makeaddr 53 #define inet_netof tcpip40_inet_netof 54 #define inet_network tcpip40_inet_network 55 #define inet_ntoa tcpip40_inet_ntoa 56 /* @} */ 46 #ifndef TCPCALL 47 #define TCPCALL _System 57 48 #endif 58 49 … … 64 55 #include <sys/types.h> 65 56 #include <sys/cdefs.h> 66 int _Systeminet_aton (const char *, struct in_addr *);67 char * _Systeminet_neta (u_long, char *, size_t);68 char * _Systeminet_net_ntop (int, const void *, int, char *, size_t);69 int _Systeminet_net_pton (int, const char *, void *, size_t);70 int _Systeminet_pton (int af, const char *src, void *dst);71 const char * _Systeminet_ntop (int af, const void *src, char *dst, size_t s);72 u_int _Systeminet_nsap_addr (const char *, u_char *, int maxlen);73 char * _Systeminet_nsap_ntoa (int, const u_char *, char *ascii);57 int TCPCALL inet_aton (const char *, struct in_addr *); 58 char * TCPCALL inet_neta (u_long, char *, size_t); 59 char * TCPCALL inet_net_ntop (int, const void *, int, char *, size_t); 60 int TCPCALL inet_net_pton (int, const char *, void *, size_t); 61 int TCPCALL inet_pton (int af, const char *src, void *dst); 62 const char * TCPCALL inet_ntop (int af, const void *src, char *dst, size_t s); 63 u_int TCPCALL inet_nsap_addr (const char *, u_char *, int maxlen); 64 char * TCPCALL inet_nsap_ntoa (int, const u_char *, char *ascii); 74 65 #endif 75 66 76 extern u_long _Systeminet_addr(__const__ char*);77 extern u_long _Systeminet_lnaof(struct in_addr);78 extern struct in_addr _Systeminet_makeaddr(u_long, u_long);79 extern u_long _Systeminet_netof(struct in_addr);80 extern u_long _Systeminet_network(__const__ char*);81 extern char* _Systeminet_ntoa(struct in_addr);67 extern u_long TCPCALL inet_addr(__const__ char*); 68 extern u_long TCPCALL inet_lnaof(struct in_addr); 69 extern struct in_addr TCPCALL inet_makeaddr(u_long, u_long); 70 extern u_long TCPCALL inet_netof(struct in_addr); 71 extern u_long TCPCALL inet_network(__const__ char*); 72 extern char* TCPCALL inet_ntoa(struct in_addr); 82 73 83 74 #if defined (__cplusplus) -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/arpa/nameser.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r353 r354 362 362 363 363 364 #ifdef TCPV40HDRS365 /** @name tcpip40 function mappings.366 * @{ */367 #define _getshort tcpip40__getshort368 #define _getlong tcpip40__getlong369 #define putshort tcpip40_putshort370 #define putlong tcpip40_putlong371 #define dn_expand tcpip40_dn_expand372 #define dn_comp tcpip40_dn_comp373 #define dn_find tcpip40_dn_find374 #define dn_skipname tcpip40_dn_skipname375 #define res_init tcpip40_res_init376 #define res_mkquery tcpip40_res_mkquery377 #define res_send tcpip40_res_send378 #define res_query tcpip40_res_query379 #define res_search tcpip40_res_search380 #define res_querydomain tcpip40_res_querydomain381 /* @} */382 #endif383 384 364 /* function prototypes */ 385 u_short _System _getshort(u_char*); 386 u_long _System _getlong(u_char*); 365 #ifndef TCPCALL 366 #define TCPCALL _System 367 #endif 368 369 u_short TCPCALL _getshort(u_char*); 370 u_long TCPCALL _getlong(u_char*); 387 371 #ifdef TCPV40HDRS /* newer have this in resolver */ 388 void _Systemputshort(u_short, u_char *);389 void _Systemputlong(u_long, u_char *);390 int _Systemdn_expand(__const__ u_char*, __const__ u_char*, __const__ u_char*, u_char*, int);391 int _Systemdn_comp(__const__ u_char*, u_char*, int, u_char**, u_char**);392 int _Systemdn_find(u_char*, u_char*, u_char**, u_char**);393 int _Systemdn_skipname(__const__ u_char*, __const__ u_char*);394 int _Systemres_init(void);395 int _Systemres_mkquery(int, __const__ char*, int, int, __const__ char*, int, __const__ struct rrec*, char*, int);396 int _Systemres_send(__const__ char*, int, char*, int);397 int _Systemres_query(char*, int, int, u_char*, int);398 int _Systemres_search(char*, int, int, u_char*, int);399 int _Systemres_querydomain(char*, char*, int, int, u_char*, int);372 void TCPCALL putshort(u_short, u_char *); 373 void TCPCALL putlong(u_long, u_char *); 374 int TCPCALL dn_expand(__const__ u_char*, __const__ u_char*, __const__ u_char*, u_char*, int); 375 int TCPCALL dn_comp(__const__ u_char*, u_char*, int, u_char**, u_char**); 376 int TCPCALL dn_find(u_char*, u_char*, u_char**, u_char**); 377 int TCPCALL dn_skipname(__const__ u_char*, __const__ u_char*); 378 int TCPCALL res_init(void); 379 int TCPCALL res_mkquery(int, __const__ char*, int, int, __const__ char*, int, __const__ struct rrec*, char*, int); 380 int TCPCALL res_send(__const__ char*, int, char*, int); 381 int TCPCALL res_query(char*, int, int, u_char*, int); 382 int TCPCALL res_search(char*, int, int, u_char*, int); 383 int TCPCALL res_querydomain(char*, char*, int, int, u_char*, int); 400 384 #endif 401 385 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.