Last change
on this file since 13624 was 3365, checked in by kjdon, 22 years ago |
Initial revision
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
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.