]> andersk Git - moira.git/blob - clients/moira/defs.h
First cut at support for winhomedir and winprofiledir support.
[moira.git] / clients / moira / defs.h
1 /* $Id$
2  *
3  *      This is the file defs.h for the Moira Client, which allows users
4  *      to quickly and easily maintain most parts of the Moira database.
5  *      It Contains: useful definitions.
6  *
7  *      Created:        4/12/88
8  *      By:             Chris D. Peterson
9  *
10  * Copyright (C) 1988-1998 by the Massachusetts Institute of Technology.
11  * For copying and distribution information, please see the file
12  * <mit-copyright.h>.
13  */
14
15 #include <mit-copyright.h>
16
17 #ifndef _defs_header_
18 #define _defs_header_
19
20 #ifndef TRUE
21 #define TRUE 1
22 #endif /* TRUE */
23
24 #ifndef FALSE
25 #define FALSE 0
26 #endif /* FALSE */
27
28
29 /* Modification information is always printed in this format. */
30
31 #define MOD_FORMAT ("Last mod by %s at %s with %s.")
32
33 /* Some common default values. */
34
35 #define DEFAULT_NONE    ("")
36 #define DEFAULT_YES     ("1")
37 #define DEFAULT_NO      ("0")
38 #define DEFAULT_COMMENT ("none")
39
40 #define SUB_NORMAL 0
41 #define SUB_ERROR 1
42
43 #define MAX_ARGS_SIZE 100
44
45 typedef int Bool;
46
47 #define IS_EMPTY(s)  (strlen((s)) == 0)
48
49 #define WILDCARD     ('*')
50
51 /* What version of the queries are we asking for? */
52
53 #define QUERY_VERSION 11
54
55 /* This is unimplemented in the menu stuff, but would be nice. */
56
57 #define FORMFEED     Put_message(" ")
58
59 /* NOT for use with insqueue and remque. */
60
61 struct mqelem {
62   struct mqelem *q_forw;
63   struct mqelem *q_back;
64   void *q_data;
65 };
66
67 #endif /* _defs_header_ */      /* Do Not Add Anything After This Line */
This page took 0.042506 seconds and 5 git commands to generate.