summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 04:51:04 +0100
committerMichael Brown2007-01-12 04:51:04 +0100
commit29dadc5ec687ab8f3251b6b33a8f1cb4dae87307 (patch)
treefe5bdddb83070b3efb492782e236f6638a700774 /src/include
parentFix the only bug (which was to use DBGC() in place of DBG()!) and add 4kB (diff)
downloadipxe-29dadc5ec687ab8f3251b6b33a8f1cb4dae87307.tar.gz
ipxe-29dadc5ec687ab8f3251b6b33a8f1cb4dae87307.tar.xz
ipxe-29dadc5ec687ab8f3251b6b33a8f1cb4dae87307.zip
Build automatically expanding buffers from struct buffer and erealloc().
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/ebuffer.h13
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 */