*** empty log message ***
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#ifndef _buf_h_
|
||||
#define _buf_h_
|
||||
typedef struct { char *buf; char *start; int size; int usize; int isize, dummy; } buf_type;
|
||||
|
||||
/* input */
|
||||
@@ -10,11 +12,11 @@ int buf_size(buf_type *buf);
|
||||
/* output */
|
||||
void buf_put_start(buf_type *buf);
|
||||
void buf_put_int(buf_type *buf, int val);
|
||||
void buf_put_str(buf_type *buf, char *str);
|
||||
void buf_put_str(buf_type *buf, const char *str);
|
||||
void buf_put_float(buf_type *buf, float val);
|
||||
void buf_put_end(buf_type *buf);
|
||||
|
||||
/* common */
|
||||
buf_type *buf_create(size_t size);
|
||||
void buf_free(buf_type *buf);
|
||||
void buf_log(buf_type *buf);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user