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

Annotation of /hydra/src/parse.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Sep 21 13:53:54 2002 UTC (21 years, 7 months ago) by nmav
Branch: MAIN
Branch point for: boas
File MIME type: text/plain
Initial revision

1 nmav 1.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.5 2000/02/12 21:52:45 jon Exp $*/
25    
26     struct ccommand {
27     char *name;
28     int type;
29     void (*action) (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