/*
- * $Id: util.h,v 1.35 1997/11/15 06:02:04 wessels Exp $
+ * $Id: util.h,v 1.36 1997/12/06 19:03:12 wessels Exp $
*
* AUTHOR: Harvest Derived
*
extern time_t parse_iso3307_time(const char *buf);
extern char *base64_decode(const char *coded);
+typedef struct _String {
+ char *buf;
+ off_t off;
+ size_t len;
+ int refcount;
+} String;
+
+extern String *stringCreate(size_t);
+extern void stringAppend(String *, const char *, size_t);
+extern void stringFree(String *);
+#define stringLength(S) (S)->off
+
#endif /* ndef _UTIL_H_ */
#
-# $Id: Makefile.in,v 1.28 1997/12/03 01:27:40 wessels Exp $
+# $Id: Makefile.in,v 1.29 1997/12/06 19:02:33 wessels Exp $
#
prefix = @prefix@
srcdir = @srcdir@
snprintf.o \
sha.o \
md5.o \
+ String.o \
$(LIBOBJS)
REGEXOBJS = GNUregex.o
LIBS = libmiscutil.a @LIBREGEX@