]> andersk Git - moira.git/blame - clients/moira/defs.h
Merge changes from ip-billing-dev branch.
[moira.git] / clients / moira / defs.h
CommitLineData
c441a31a 1/* $Id$
7ac48069 2 *
3 * This is the file defs.h for the Moira Client, which allows users
59ec8dae 4 * to quickly and easily maintain most parts of the Moira database.
ec47f9a6 5 * It Contains: useful definitions.
5eaef520 6 *
ec47f9a6 7 * Created: 4/12/88
8 * By: Chris D. Peterson
9 *
7ac48069 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>.
ec47f9a6 13 */
14
7ac48069 15#include <mit-copyright.h>
ec47f9a6 16
17#ifndef _defs_header_
18#define _defs_header_
19
20#ifndef TRUE
21#define TRUE 1
5e653582 22#endif /* TRUE */
ec47f9a6 23
24#ifndef FALSE
25#define FALSE 0
5e653582 26#endif /* FALSE */
ec47f9a6 27
b14bad9d 28
ec47f9a6 29/* Modification information is always printed in this format. */
30
1d62c4d6 31#define MOD_FORMAT ("Last mod by %s at %s with %s.")
ec47f9a6 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
ec47f9a6 45typedef int Bool;
46
47#define IS_EMPTY(s) (strlen((s)) == 0)
48
49#define WILDCARD ('*')
50
f91b70c1 51/* What version of the queries are we asking for? */
52
4f6b1a05 53#define QUERY_VERSION 8
f91b70c1 54
ec47f9a6 55/* This is unimplemented in the menu stuff, but would be nice. */
56
57#define FORMFEED Put_message(" ")
58
600b459e 59/* NOT for use with insqueue and remque. */
ec47f9a6 60
600b459e 61struct mqelem {
62 struct mqelem *q_forw;
63 struct mqelem *q_back;
7ac48069 64 void *q_data;
ec47f9a6 65};
66
5e653582 67#endif /* _defs_header_ */ /* Do Not Add Anything After This Line */
This page took 0.177167 seconds and 5 git commands to generate.