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 ca33cbda 2002-03-12 alex * $Id: parse.h,v 1.6 2002/03/12 14:37:52 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 #include "conn.h"
22 6e07fb41 2001-12-21 alex
23 6e07fb41 2001-12-21 alex
24 6e07fb41 2001-12-21 alex typedef struct _REQUEST /* vgl. RFC 2812, 2.3 */
25 6e07fb41 2001-12-21 alex {
26 6e07fb41 2001-12-21 alex CHAR *prefix; /* Prefix */
27 6e07fb41 2001-12-21 alex CHAR *command; /* IRC-Befehl */
28 6e07fb41 2001-12-21 alex CHAR *argv[15]; /* Parameter (max. 15: 0..14) */
29 6e07fb41 2001-12-21 alex INT argc; /* Anzahl vorhandener Parameter */
30 6e07fb41 2001-12-21 alex } REQUEST;
31 6e07fb41 2001-12-21 alex
32 6e07fb41 2001-12-21 alex
33 6e07fb41 2001-12-21 alex GLOBAL BOOLEAN Parse_Request( CONN_ID Idx, CHAR *Request );
34 6e07fb41 2001-12-21 alex
35 6e07fb41 2001-12-21 alex
36 6e07fb41 2001-12-21 alex #endif
37 6e07fb41 2001-12-21 alex
38 6e07fb41 2001-12-21 alex
39 6e07fb41 2001-12-21 alex /* -eof- */