source:
trunk/mgpp/lib/win32in.h@
4735
Last change on this file since 4735 was 3365, checked in by , 22 years ago | |
---|---|
|
|
File size: 409 bytes |
Line | |
---|---|
1 | /* This module provides an equivalent of <netinet/in.h> on */ |
2 | /* unix systems. */ |
3 | #ifdef __WIN32__ |
4 | #define _LITTLE_ENDIAN |
5 | #endif |
6 | |
7 | #include "longlong.h" |
8 | #ifdef __cplusplus |
9 | extern "C" { |
10 | #endif |
11 | |
12 | unsigned long htonl(unsigned long x); |
13 | unsigned long ntohl(unsigned long x); |
14 | mg_ullong ntohll(mg_ullong x); |
15 | unsigned short htons(unsigned short x); |
16 | unsigned short ntohs(unsigned short x); |
17 | |
18 | #ifdef __cplusplus |
19 | } |
20 | #endif |
Note:
See TracBrowser
for help on using the repository browser.