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

Contents of /hydra/src/parse.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Sep 24 17:12:47 2002 UTC (21 years, 6 months ago) by nmav
Branch: MAIN
CVS Tags: hydra_0_0_10, hydra_0_0_8, hydra_0_0_9, hydra_0_0_2, hydra_0_0_3, hydra_0_0_6, hydra_0_0_7, hydra_0_0_4, hydra_0_0_5, hydra_0_1_3, hydra_0_1_2, hydra_0_1_1, hydra_0_1_0
Branch point for: hydra_0_1_0_patches
Changes since 1.1: +2 -2 lines
File MIME type: text/plain
Added some support for host based virtual hosting.

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 * parse.h
20 * minimum interaction point between Boa's parser (boa_lexer.l and
21 * boa_grammar.y) and the rest of Boa.
22 */
23
24 /* $Id: parse.h,v 1.1.1.1 2002/09/21 13:53:54 nmav Exp $*/
25
26 struct ccommand {
27 char *name;
28 int type;
29 void (*action) (char *, char*, char*, char *, void *);
30 void *object;
31 };
32 struct ccommand *lookup_keyword(char *c);
33 void add_mime_type(char *extension, char *type);

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26