omapip/convert.c File Reference

#include "dhcpd.h"
#include <omapip/omapip_p.h>

Go to the source code of this file.

Functions

u_int32_t getULong (unsigned char *buf) const
int32_t getLong (unsigned char *buf) const
u_int32_t getUShort (unsigned char *buf) const
int32_t getShort (unsigned char *buf) const
void putULong (unsigned char *obuf, u_int32_t val)
void putLong (unsigned char *obuf, int32_t val)
void putUShort (unsigned char *obuf, u_int32_t val)
void putShort (unsigned char *obuf, int32_t val)
void putUChar (unsigned char *obuf, u_int32_t val)
u_int32_t getUChar (unsigned char *obuf) const
int converted_length (unsigned char *buf, unsigned int base, unsigned int width) const
int binary_to_ascii (unsigned char *outbuf, const unsigned char *inbuf, unsigned int base, unsigned int width)

Function Documentation

int binary_to_ascii ( unsigned char *  outbuf,
const unsigned char *  inbuf,
unsigned int  base,
unsigned int  width 
)

Definition at line 150 of file convert.c.

int converted_length ( unsigned char *  buf,
unsigned int  base,
unsigned int  width 
) const

Definition at line 115 of file convert.c.

int32_t getLong ( unsigned char *  buf  )  const

Definition at line 43 of file convert.c.

int32_t getShort ( unsigned char *  buf  )  const

Definition at line 61 of file convert.c.

u_int32_t getUChar ( unsigned char *  obuf  )  const

Definition at line 109 of file convert.c.

u_int32_t getULong ( unsigned char *  buf  )  const

Definition at line 34 of file convert.c.

u_int32_t getUShort ( unsigned char *  buf  )  const

Definition at line 52 of file convert.c.

void putLong ( unsigned char *  obuf,
int32_t  val 
)

Definition at line 78 of file convert.c.

void putShort ( unsigned char *  obuf,
int32_t  val 
)

Definition at line 94 of file convert.c.

void putUChar ( unsigned char *  obuf,
u_int32_t  val 
)

Definition at line 102 of file convert.c.

void putULong ( unsigned char *  obuf,
u_int32_t  val 
)

Definition at line 70 of file convert.c.

void putUShort ( unsigned char *  obuf,
u_int32_t  val 
)

Definition at line 86 of file convert.c.


Generated on 5 Apr 2014 for ISC DHCP by  doxygen 1.6.1