source: main/trunk/greenstone2/common-src/indexers/mgpp/lib/win32in.h@ 26162

Last change on this file since 26162 was 25147, checked in by kjdon, 12 years ago

merged 64_bit_Greenstone branch into trunk, rev 25139

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 413 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#include "mglong.h"
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13mg_u_long htonl(mg_u_long x);
14mg_u_long ntohl(mg_u_long x);
15mg_ullong ntohll(mg_ullong x);
16unsigned short htons(unsigned short x);
17unsigned short ntohs(unsigned short x);
18
19#ifdef __cplusplus
20}
21#endif
Note: See TracBrowser for help on using the repository browser.