From afb30b22c3c7242eb273ba05caef2b51f66ec84c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 6 Jul 2004 10:44:20 +0000 Subject: [PATCH] Applications of gbuf.h to byte arrays are very common, so I've introduced a special include for them. --- lib/bbuf.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/bbuf.h diff --git a/lib/bbuf.h b/lib/bbuf.h new file mode 100644 index 00000000..5ee6c1a5 --- /dev/null +++ b/lib/bbuf.h @@ -0,0 +1,17 @@ +/* + * A simple growing buffer for byte-sized items. + * + * (c) 2004 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. + */ + +#ifndef _SHERLOCK_BBUF_H +#define _SHERLOCK_BBUF_H + +#define GBUF_TYPE byte +#define GBUF_PREFIX(x) bb_##x +#include "lib/gbuf.h" + +#endif -- 2.39.2