xdas_wire.c File Reference

OpenXDAS wire buffer insertion and extraction routines. More...

#include "xdas_wire.h"

Go to the source code of this file.

Functions

uint16_t xdas_get_uint16 (char **cpp)
 Extract a 16-bit big-endian buffer value into a native 16-bit word.
uint32_t xdas_get_uint24 (char **cpp)
 Extract a 24-bit big-endian buffer value into a native 32-bit word.
uint32_t xdas_get_uint32 (char **cpp)
 Extract a 32-bit big-endian buffer value into a native 32-bit word.
void xdas_put_uint16 (char **cpp, size_t val)
 Insert a 16-bit native word into a buffer in big-endian format.
void xdas_put_uint24 (char **cpp, size_t val)
 Insert a 24-bit native word into a buffer in big-endian format.
void xdas_put_uint32 (char **cpp, size_t val)
 Insert a 32-bit native word into a buffer in big-endian format.


Detailed Description

OpenXDAS wire buffer insertion and extraction routines.

Author:
John Calcote (jcalcote@novell.com)
Attention:
Please submit patches to http://openxdas.sourceforge.net

Definition in file xdas_wire.c.


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6