#ifndef _UINT16_H #define _UINT16_H #include "uint.h" /* * pack and unpack an unsigned int in or out of a two bytes char */ void u16_pack(char s[2],u16 u); void u16_pack_big(char s[2],u16 u); void u16_unpack(const char s[2],u16 *u); void u16_unpack_big(const char s[2],u16 *u); #endif