OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [httpd/] [v2_0/] [src/] [init.cxx] - Blame information for rev 232

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
/* =================================================================
2
 *
3
 *      init.cxx
4
 *
5
 *      Constructor for HTTPD
6
 *
7
 * =================================================================
8
 * ####ECOSGPLCOPYRIGHTBEGIN####
9
 * -------------------------------------------
10
 * This file is part of eCos, the Embedded Configurable Operating
11
 * System.
12
 * Copyright (C) 2002 Nick Garnett.
13
 *
14
 * eCos is free software; you can redistribute it and/or modify it
15
 * under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 or (at your option)
17
 * any later version.
18
 *
19
 * eCos is distributed in the hope that it will be useful, but
20
 * WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22
 * General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with eCos; if not, write to the Free Software Foundation,
26
 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
27
 *
28
 * As a special exception, if other files instantiate templates or
29
 * use macros or inline functions from this file, or you compile this
30
 * file and link it with other works to produce a work based on this
31
 * file, this file does not by itself cause the resulting work to be
32
 * covered by the GNU General Public License. However the source code
33
 * for this file must still be made available in accordance with
34
 * section (3) of the GNU General Public License.
35
 *
36
 * This exception does not invalidate any other reasons why a work
37
 * based on this file might be covered by the GNU General Public
38
 * License.
39
 *
40
 * -------------------------------------------
41
 * ####ECOSGPLCOPYRIGHTEND####
42
 * =================================================================
43
 * #####DESCRIPTIONBEGIN####
44
 *
45
 *  Author(s):    nickg@calivar.com
46
 *  Contributors: nickg@calivar.com
47
 *  Date:         2002-10-14
48
 *  Purpose:
49
 *  Description:
50
 *
51
 * ####DESCRIPTIONEND####
52
 *
53
 * =================================================================
54
 */
55
 
56
#include <pkgconf/system.h>
57
#include <pkgconf/isoinfra.h>
58
#include <pkgconf/httpd.h>
59
 
60
#include <cyg/infra/cyg_trac.h>        // tracing macros
61
#include <cyg/infra/cyg_ass.h>         // assertion macros
62
 
63
/* ================================================================= */
64
 
65
__externC void cyg_httpd_startup(void);
66
 
67
/* ================================================================= */
68
/* Initialization object
69
 */
70
 
71
class Cyg_Httpd_Init_Class
72
{
73
public:
74
    Cyg_Httpd_Init_Class();
75
};
76
 
77
/* ----------------------------------------------------------------- */
78
/* Static initialization object instance. The constructor is
79
 * prioritized to run at the same time as any filesystem constructors.
80
 */
81
static Cyg_Httpd_Init_Class httpd_initializer CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS);
82
 
83
/* ----------------------------------------------------------------- */
84
/* Constructor, just calls the startup routine.
85
 */
86
 
87
Cyg_Httpd_Init_Class::Cyg_Httpd_Init_Class()
88
{
89
    cyg_httpd_startup();
90
}
91
 
92
/* ----------------------------------------------------------------- */
93
/* end of httpd.c                                                    */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.