Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

dt_buf.h

Go to the documentation of this file.
00001 
00004 #ifndef INCLUDED_DT_BUF_H
00005 #define INCLUDED_DT_BUF_H
00006 
00007 #ifndef INCLUDED_DT_TYPE_H
00008 #include "dt_type.h"
00009 #endif
00010 
00011 
00013 typedef struct dt_buf_
00014 {
00015    dt_byte* begin;      
00016    dt_byte* strEnd;     
00017    dt_byte* allocEnd;   
00018 } dt_buf;
00019 
00027 dt_bool  dt_buf_init( dt_buf* buf );
00029 dt_bool  dt_buf_init_data( dt_buf* buf, dt_byte const* data, size_t len );
00031 void     dt_buf_free( dt_buf* buf );
00033 void     dt_buf_clear( dt_buf* buf );
00035 dt_bool  dt_buf_append( dt_buf* buf, int c );
00040 dt_bool  dt_buf_growth_reserve( dt_buf* buf, size_t len );
00042 dt_bool  dt_buf_append_data( dt_buf* buf, void const* data, size_t len );
00045 #endif/*INCLUDED_DT_BUF_H*/

Generated on Sun Jun 1 16:35:38 2003 for datatree by doxygen 1.3.1