From: Martin Mares Date: Tue, 6 Jul 2004 10:44:20 +0000 (+0000) Subject: Applications of gbuf.h to byte arrays are very common, so I've introduced X-Git-Tag: holmes-import~971 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=afb30b22c3c7242eb273ba05caef2b51f66ec84c;p=libucw.git Applications of gbuf.h to byte arrays are very common, so I've introduced a special include for them. --- 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