-
Notifications
You must be signed in to change notification settings - Fork 4
/
lrpn.h
96 lines (91 loc) · 2.43 KB
/
lrpn.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// LoraBBS Version 2.41 Free Edition
// Copyright (C) 1987-98 Marco Maccaferri
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
/*
** RPN Engine for LoraBBS 2.3x
** Scritto da Riccardo De Agostini
**
** File : LPRN.H
**
** NOTA : Questo file e` stato scritto con un Tab size di 4 caratteri.
*/
/*
** HEADER UTILIZZATI
*/
/*
** COSTANTI
*/
#define RPN_NVAR 200 /* Numero variabili utente */
#define RPN_STACKSIZE 64 /* Dimensione stack */
/*
** Identificativi dei campi del record utente
**
** - Campi di tipo bit (da 1 a 99)
**
** . Configurazione terminale (1..20)
*/
#define USR_IBMSET 1
#define USR_FORMFEED 2
#define USR_COLOR 3
#define USR_ANSI 4
#define USR_AVATAR 5
#define USR_TABS 6
#define USR_MORE 7
#define USR_HOTKEY 8
/*
** . Configurazione aree messaggi / files (21..40)
*/
#define USR_SCANMAIL 21
#define USR_FULLREAD 22
#define USR_USELORE 23
#define USR_KLUDGE 24
/*
** . Privilegi e accessi vari (41..60)
*/
#define USR_HIDDEN 41
#define USR_NOKILL 42
#define USR_NERD 43
#define USR_XFERPRIOR 44
/*
** Campi numerici (da 100 in poi)
**
** . Configurazione terminale (101..120)
*/
#define USR_LANGUAGE 101
#define USR_LEN 102
#define USR_WIDTH 103
/*
** . Configurazione aree messaggi / files (121..140)
*/
#define USR_PROTOCOL 121
#define USR_ARCHIVER 122
#define USR_MSGSIG 123
#define USR_FILESIG 124
/*
** . Privilegi e accessi vari (141..160)
*/
#define USR_PRIV 141
#define USR_CREDIT 142
/*
** DEFINIZIONE DI TIPI CUSTOM
**
** Variabile booleana
*/
typedef enum {
FALSE = 0,
TRUE = 1
} bool;
/* Fine del file LRPN.H */