UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / src / cgi / cgiconfig.h.in
blob93af9e07c9fde0ddf346e896059927dc04ed0d3f
1 /*
2 * cgiconfig.h.in -- header file for apcupsd cgi interface
4 * Copyright (C) 1999-2002 Riccardo Facchetti <riccardo@master.oasi.gpa.it>
6 * apcupsd.c -- Simple Daemon to catch power failure signals from a
7 * BackUPS, BackUPS Pro, or SmartUPS (from APCC).
8 * -- Now SmartMode support for SmartUPS and BackUPS Pro.
10 * Copyright (C) 1996-99 Andre M. Hedrick <andre@suse.com>
11 * All rights reserved.
15 * GNU GENERAL PUBLIC LICENSE
16 * Version 2, June 1991
18 * Copyright (C) 1989, 1991 Free Software Foundation, Inc.
19 * 675 Mass Ave, Cambridge, MA 02139, USA
20 * Everyone is permitted to copy and distribute verbatim copies
21 * of this license document, but changing it is not allowed.
23 * This program is free software; you can redistribute it and/or modify
24 * it under the terms of the GNU General Public License as published by
25 * the Free Software Foundation; either version 2 of the License, or
26 * (at your option) any later version.
28 * This program is distributed in the hope that it will be useful,
29 * but WITHOUT ANY WARRANTY; without even the implied warranty of
30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 * GNU General Public License for more details.
33 * You should have received a copy of the GNU General Public License
34 * along with this program; if not, write to the Free Software
35 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
40 * IN NO EVENT SHALL ANY AND ALL PERSONS INVOLVED IN THE DEVELOPMENT OF THIS
41 * PACKAGE, NOW REFERRED TO AS "APCUPSD-Team" BE LIABLE TO ANY PARTY FOR
42 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
43 * OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF ANY OR ALL
44 * OF THE "APCUPSD-Team" HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46 * THE "APCUPSD-Team" SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
47 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
48 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
49 * ON AN "AS IS" BASIS, AND THE "APCUPSD-Team" HAS NO OBLIGATION TO PROVIDE
50 * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
52 * THE "APCUPSD-Team" HAS ABSOLUTELY NO CONNECTION WITH THE COMPANY
53 * AMERICAN POWER CONVERSION, "APCC". THE "APCUPSD-Team" DID NOT AND
54 * HAS NOT SIGNED ANY NON-DISCLOSURE AGREEMENTS WITH "APCC". ANY AND ALL
55 * OF THE LOOK-A-LIKE ( UPSlink(tm) Language ) WAS DERIVED FROM THE
56 * SOURCES LISTED BELOW.
60 #include "apc.h"
62 extern "C" {
64 #if defined(SYS_IMGFMT_PNG) || defined(SYS_IMGFMT_GIF)
65 #include <@GDHEAD@gd.h>
66 #include <@GDHEAD@gdfontl.h>
67 #else
68 #include "gd.h"
69 #include "gdfontl.h"
70 #endif