source: trunk/indexers/mgpp/lib/win32in.h@ 3365

Last change on this file since 3365 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
9extern "C" {
10#endif
11
12unsigned long htonl(unsigned long x);
13unsigned long ntohl(unsigned long x);
14mg_ullong ntohll(mg_ullong x);
15unsigned short htons(unsigned short x);
16unsigned short ntohs(unsigned short x);
17
18#ifdef __cplusplus
19}
20#endif
Note: See TracBrowser for help on using the repository browser.