From 29dadc5ec687ab8f3251b6b33a8f1cb4dae87307 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 03:51:04 +0000 Subject: Build automatically expanding buffers from struct buffer and erealloc(). --- src/include/gpxe/ebuffer.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/include/gpxe/ebuffer.h (limited to 'src/include') diff --git a/src/include/gpxe/ebuffer.h b/src/include/gpxe/ebuffer.h new file mode 100644 index 000000000..38f18df2b --- /dev/null +++ b/src/include/gpxe/ebuffer.h @@ -0,0 +1,13 @@ +#ifndef _GPXE_EBUFFER_H +#define _GPXE_EBUFFER_H + +/** + * @file + * + * Automatically expanding buffers + * + */ + +extern int ebuffer_alloc ( struct buffer *buffer, size_t len ); + +#endif /* _GPXE_EBUFFER_H */ -- cgit v1.2.3-55-g7522