aboutsummaryrefslogtreecommitdiff
path: root/src/libparsec/include/net_swap.h
blob: 7a434b7e7919ee1ea2ecd03fce52ac7e0713901a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * PARSEC HEADER: net_swap.h
 */

#ifndef _NET_SWAP_H_
#define _NET_SWAP_H_


// external functions ---------------------------------------------------------
//
void NET_RmEvList_Swap( RE_Header* relist, int incoming );
void SWAP_ShipRemInfo_in( ShipRemInfo *reminfo );
void SWAP_ShipRemInfo_out( ShipRemInfo *reminfo );

// define low-level network byte-order swapping functions
#define NET_SWAP_16		SWAP_16
#define NET_SWAP_32		SWAP_32

#endif