diff include/types.h @ 1369:1a78ca089bd0

Expose buffer type for other C libraries; replace minusSeconds with addSeconds
author Adam Chlipala <adam@chlipala.net>
date Sun, 26 Dec 2010 15:52:56 -0500
parents b02cb9da5686
children 44a12a321150
line wrap: on
line diff
--- a/include/types.h	Sun Dec 26 11:13:37 2010 -0500
+++ b/include/types.h	Sun Dec 26 15:52:56 2010 -0500
@@ -94,4 +94,9 @@
 
 #define ERROR_BUF_LEN 1024
 
+typedef struct {
+  size_t max;
+  char *start, *front, *back;
+} uw_buffer;
+
 #endif