]> andersk Git - moira.git/blobdiff - clients/moira/defs.h
Implement support for container related queries.
[moira.git] / clients / moira / defs.h
index 3574482e2f707399592776f06448a46de33ede27..eb07a5be239c804b1a58c487901027506151ca00 100644 (file)
@@ -1,21 +1,18 @@
-/*     This is the file defs.h for the SMS Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the SMS database.
+/* $Id$
+ *
+ *     This is the file defs.h for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: useful definitions.
  *
  *     Created:        4/12/88
  *     By:             Chris D. Peterson
  *
- *      $Source$
- *      $Author$
- *      $Header$
- *
- *     Copyright 1988 by the Massachusetts Institute of Technology.
- *
- *     For further information on copyright and distribution
- *     see the file mit-copyright.h
+ * Copyright (C) 1988-1998 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
 
-#include "mit-copyright.h"
+#include <mit-copyright.h>
 
 #ifndef _defs_header_
 #define _defs_header_
 
 #define MAX_ARGS_SIZE 100
 
-typedef void (*FVoid)();       /* function pointer typedef. */
-typedef char *(*FCharStar)();  /* function pointer typedef. */
-typedef int (*FInt)();         /* function pointer typedef. */
-
 typedef int Bool;
 
 #define IS_EMPTY(s)  (strlen((s)) == 0)
 
 #define WILDCARD     ('*')
 
+/* What version of the queries are we asking for? */
+
+#define QUERY_VERSION 7
+
 /* This is unimplemented in the menu stuff, but would be nice. */
 
 #define FORMFEED     Put_message(" ")
 
-/* for use with insqueue and remque. */
+/* NOT for use with insqueue and remque. */
 
-struct qelem {
-  struct qelem *q_forw;
-  struct qelem *q_back;
-  char *q_data;
+struct mqelem {
+  struct mqelem *q_forw;
+  struct mqelem *q_back;
+  void *q_data;
 };
 
 #endif /* _defs_header_ */     /* Do Not Add Anything After This Line */
This page took 0.323906 seconds and 4 git commands to generate.