Blame


1 6e07fb41 2001-12-21 alex /*
2 6e07fb41 2001-12-21 alex * ngIRCd -- The Next Generation IRC Daemon
3 020c6d8b 2002-01-02 alex * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
4 6e07fb41 2001-12-21 alex *
5 6e07fb41 2001-12-21 alex * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
6 6e07fb41 2001-12-21 alex * der GNU General Public License (GPL), wie von der Free Software Foundation
7 6e07fb41 2001-12-21 alex * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
8 6e07fb41 2001-12-21 alex * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
9 6e07fb41 2001-12-21 alex * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
10 804b1ec4 2001-12-31 alex * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
11 6e07fb41 2001-12-21 alex *
12 c2f60abe 2002-05-27 alex * $Id: parse.h,v 1.7 2002/05/27 13:09:27 alex Exp $
13 6e07fb41 2001-12-21 alex *
14 6e07fb41 2001-12-21 alex * parse.h: Parsen der Client-Anfragen (Header)
15 6e07fb41 2001-12-21 alex */
16 6e07fb41 2001-12-21 alex
17 6e07fb41 2001-12-21 alex
18 6e07fb41 2001-12-21 alex #ifndef __parse_h__
19 6e07fb41 2001-12-21 alex #define __parse_h__
20 6e07fb41 2001-12-21 alex
21 6e07fb41 2001-12-21 alex
22 6e07fb41 2001-12-21 alex typedef struct _REQUEST /* vgl. RFC 2812, 2.3 */
23 6e07fb41 2001-12-21 alex {
24 6e07fb41 2001-12-21 alex CHAR *prefix; /* Prefix */
25 6e07fb41 2001-12-21 alex CHAR *command; /* IRC-Befehl */
26 6e07fb41 2001-12-21 alex CHAR *argv[15]; /* Parameter (max. 15: 0..14) */
27 6e07fb41 2001-12-21 alex INT argc; /* Anzahl vorhandener Parameter */
28 6e07fb41 2001-12-21 alex } REQUEST;
29 6e07fb41 2001-12-21 alex
30 6e07fb41 2001-12-21 alex
31 c2f60abe 2002-05-27 alex GLOBAL BOOLEAN Parse_Request PARAMS((CONN_ID Idx, CHAR *Request ));
32 6e07fb41 2001-12-21 alex
33 6e07fb41 2001-12-21 alex
34 6e07fb41 2001-12-21 alex #endif
35 6e07fb41 2001-12-21 alex
36 6e07fb41 2001-12-21 alex
37 6e07fb41 2001-12-21 alex /* -eof- */