diff options
| author | Michael Brown | 2007-01-12 04:51:04 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-12 04:51:04 +0100 |
| commit | 29dadc5ec687ab8f3251b6b33a8f1cb4dae87307 (patch) | |
| tree | fe5bdddb83070b3efb492782e236f6638a700774 /src/include/gpxe | |
| parent | Fix the only bug (which was to use DBGC() in place of DBG()!) and add 4kB (diff) | |
| download | ipxe-29dadc5ec687ab8f3251b6b33a8f1cb4dae87307.tar.gz ipxe-29dadc5ec687ab8f3251b6b33a8f1cb4dae87307.tar.xz ipxe-29dadc5ec687ab8f3251b6b33a8f1cb4dae87307.zip | |
Build automatically expanding buffers from struct buffer and erealloc().
Diffstat (limited to 'src/include/gpxe')
| -rw-r--r-- | src/include/gpxe/ebuffer.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 */ |
