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