Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

types.h File Reference

Nut/OS type declarations. More...

#include <compiler.h>

Go to the source code of this file.

Defines

#define htons(x)   __byte_swap2(x)
 Convert short value from host to network byte order.

#define htonl(x)   __byte_swap4(x)
 Convert long value from host to network byte order.

#define ntohs(x)   __byte_swap2(x)
 Convert short value from network to host byte order.

#define ntohl(x)   __byte_swap4(x)
 Convert long value from network to host byte order.


Typedefs

typedef unsigned char u_char
 Unsigned 8-bit value.

typedef unsigned short u_short
 Unsigned 16-bit value.

typedef unsigned int u_int
 Unsigned 16-bit value.

typedef unsigned long u_long
 Unsigned 32-bit value.

typedef unsigned long long u_longlong
 Unsigned 64-bit value.

typedef void * HANDLE
 Void pointer.


Detailed Description

Nut/OS type declarations.


Generated on Thu Jan 30 22:30:55 2003 for EduNet by doxygen1.2.18