Author: Bleep <tomh@inxpress.net>
[ircu2.10.12-pk.git] / include / dbuf.h
index 03b45d1e0efe0d574e4da70986869bac33bb003b..570d500d6ff885d36cc74ee8890cec43cff41046 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ * $Id$
  */
 #ifndef INCLUDED_dbuf_h
 #define INCLUDED_dbuf_h
 #ifndef INCLUDED_sys_types_h
-#include <sys/types.h>         /* size_t */
+#include <sys/types.h>          /* size_t */
 #define INCLUDED_sys_types_h
 #endif
 
 /*
  * These two globals should be considered read only
  */
-extern int DBufAllocCount;     /* GLOBAL - count of dbufs allocated */
-extern int DBufUsedCount;      /* GLOBAL - count of dbufs in use */
+extern int DBufAllocCount;      /* GLOBAL - count of dbufs allocated */
+extern int DBufUsedCount;       /* GLOBAL - count of dbufs in use */
 
 struct DBufBuffer;
 
 struct DBuf {
-  size_t length;               /* Current number of bytes stored */
-  struct DBufBuffer *head;     /* First data buffer, if length > 0 */
-  struct DBufBuffer *tail;     /* last data buffer, if length > 0 */
+  size_t length;                /* Current number of bytes stored */
+  struct DBufBuffer *head;      /* First data buffer, if length > 0 */
+  struct DBufBuffer *tail;      /* last data buffer, if length > 0 */
 };
 
 /*