/[hydra]/hydra/src/parse.h
ViewVC logotype

Contents of /hydra/src/parse.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Tue Jan 21 21:55:21 2003 UTC (18 years, 10 months ago) by nmav
Branch: MAIN
CVS Tags: hydra_0_1_6_without_hic, hydra_0_1_7, hydra_0_1_6, hydra_0_1_4, hydra_0_1_8, HEAD
Changes since 1.3: +2 -2 lines
File MIME type: text/plain
some changes in order to compile.

1 /*
2 * Boa, an http server
3 * Copyright (C) 1999 Larry Doolittle <ldoolitt@boa.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 1, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20 /*
21 * parse.h
22 *
23 * minimum interaction point between Boa's parser (boa_lexer.l and
24 * boa_grammar.y) and the rest of Boa.
25 */
26
27 /* $Id: parse.h,v 1.3 2002/11/29 14:56:36 andreou Exp $*/
28
29 #ifndef HYDRA_SRC_PARSE_H
30 #define HYDRA_SRC_PARSE_H 1
31
32 struct ccommand {
33 char *name;
34 int type;
35 void (*action) (char *, char*, char*, char *, void *);
36 void *object;
37 };
38 struct ccommand *lookup_keyword(char *c);
39 void add_mime_type(char *extension, char *type);
40
41 #endif /* HYDRA_SRC_PARSE_H */
42
43 /* EOF */

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26