]> git.pond.sub.org Git - empserver/blobdiff - include/queue.h
Fix trailing whitespace
[empserver] / include / queue.h
index 77d5d0805758107e1d87acd36c3ed1622431b05d..a7d11a1dd9bbee6bef6605379c2eb4c91df226b3 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
  *  queue.h: Generic vax-like doubly linked list queues
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
-#ifndef _QUEUE_H_
-#define _QUEUE_H_
+#ifndef QUEUE_H
+#define QUEUE_H
 
 #define        QEMPTY(p)       ((p)->q_forw == (p))
 
@@ -43,6 +43,8 @@ struct emp_qelem {
 
 extern void emp_remque(struct emp_qelem *);
 extern void emp_initque(struct emp_qelem *);
+extern struct emp_qelem *emp_searchque(struct emp_qelem *, void *,
+                               int (*)(struct emp_qelem *, void *));
 extern void emp_insque(struct emp_qelem *, struct emp_qelem *);
 
-#endif /* _QUEUE_H_ */
+#endif