mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-06-10 05:29:34 +00:00
b5c3a29f37
It can currently send a GetStatus request and get a response.
18 lines
259 B
C
18 lines
259 B
C
#ifndef ENDIAN_H
|
|
#define ENDIAN_H
|
|
|
|
#include <types.h>
|
|
|
|
/* Undefine these in case they're defined as macros */
|
|
#undef htons
|
|
#undef ntohs
|
|
#undef htonl
|
|
#undef ntohl
|
|
|
|
Word htons(Word);
|
|
Word ntohs(Word);
|
|
LongWord htonl(LongWord);
|
|
LongWord ntohl(LongWord);
|
|
|
|
#endif
|