/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
#ifndef IOQUEUE_H
#define IOQUEUE_H
+#include "queue.h"
+
struct ioqueue {
struct qelem queue; /* queue fwd/back */
int bsize; /* basic block size */
struct qelem queue; /* list of ioqueue elements */
int nbytes; /* number of data bytes present */
int offset; /* offset into current entry */
- char *data; /* pointer to start */
+ char *data; /* pointer to start */
};
void ioq_init(struct ioqueue *ioq, int bsize);