Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

byte_extract.h

Go to the documentation of this file.
00001 #ifndef _BYTE_EXTRACT_H
00002 #define _BYTE_EXTRACT_H
00003 
00004 #define BIG    0
00005 #define LITTLE 1
00006 
00007 #define PARSELEN 10
00008 
00009 int string_extract(int bytes_to_grab, int base, u_int8_t *ptr,
00010                    u_int8_t *start, u_int8_t *end,
00011                    u_int32_t *value);
00012 
00013 int byte_extract(int endianess, int bytes_to_grab, u_int8_t *ptr,
00014                  u_int8_t *start, u_int8_t *end,
00015                  u_int32_t *value);
00016 
00017 #endif /* _BYTE_EXTRACT_H */

Generated on Sun May 14 14:51:12 2006 by  doxygen 1.4.2