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