]>
Commit | Line | Data |
---|---|---|
052247fa | 1 | #define RQ_TLZ "#twilightzone" |
25b7d0fa | 2 | |
25b7d0fa P |
3 | #define RQ_QSERVER "CServe.quakenet.org" |
4 | #define RQ_QNICK "Q" | |
5 | ||
95440fe7 | 6 | #define RQ_SSERVER "services.de.quakenet.org" |
052247fa | 7 | #define RQ_SNICK "S" |
25b7d0fa P |
8 | |
9 | #define RQ_REQUEST_NICK "R" | |
10 | #define RQ_REQUEST_USER "request" | |
11 | #define RQ_REQUEST_HOST "request.quakenet.org" | |
12 | #define RQ_REQUEST_REAL "Service Request v0.23" | |
13 | #define RQ_REQUEST_AUTH "R" | |
14 | ||
15 | #define RQU_ANY 0 | |
16 | #define RQU_OPER 1 | |
f3c45977 P |
17 | #define RQU_ACCOUNT 2 |
18 | ||
19 | /* one week by default */ | |
20 | #define RQU_HELPER_MAXEXPIRE 604800 | |
21 | ||
22 | #define RQ_USERFILE "rqusers" | |
052247fa | 23 | #define RQ_LOGFILE "request.log" |
25b7d0fa P |
24 | |
25 | #define RQ_OK 0 | |
26 | #define RQ_ERROR 1 | |
27 | #define RQ_UNKNOWN 2 | |
28 | ||
29 | extern int rq_failed; | |
30 | extern int rq_success; | |
31 | ||
052247fa CP |
32 | extern FILE *rq_logfd; |
33 | ||
25b7d0fa | 34 | char *rq_longtoduration(unsigned long interval); |