Changeset 354 for trunk/src/emx/include/arpa/inet.h
- Timestamp:
- Jul 11, 2003, 1:39:47 PM (22 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.