]>
jfr.im git - irc/quakenet/newserv.git/blob - request/sqrequest.h
1 #include "../nick/nick.h"
2 #include "../channel/channel.h"
4 #define QR_REQUIREDSIZE_CSERVE 15
5 #define QR_REQUIREDSIZE_SPAMSCAN 120
7 #define QR_AUTHEDPCT_SPAMSCANMIN 25
8 #define QR_AUTHEDPCT_SCALE 35
9 #define QR_AUTHEDPCT_SCALEMAX 300
10 #define QR_AUTHEDPCT_CSERVE 60
11 #define QR_AUTHEDPCT_SPAMSCAN 50
12 #define QR_AUTHEDPCT_CSERVEMIN 25
13 #define QR_MAXQCHANS 29500
14 #define QR_MINUSERSPCT 60
15 #define QR_MAXUSERSPCT 500
17 /* should we use 'debug' requirements for Q/S? */
20 void qr_initrequest(void);
21 void qr_finirequest(void);
22 int qr_requestq(nick
*rqnick
, nick
*sender
, channel
*cp
, nick
*lnick
, nick
*qnick
);
23 int qr_instantrequestq(nick
*sender
, channel
*cp
);
24 int qr_requests(nick
*rqnick
, nick
*sender
, channel
*cp
, nick
*lnick
, nick
*qnick
);
25 void qr_requeststats(nick
*rqnick
, nick
*np
);
26 void qr_handle_notice(nick
*sender
, char *message
);