UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / src / drivers / snmp / snmp_private.h
blobc4a7d316ac13458185346702a056552be2feef26
1 /*
2 * snmp_private.h
4 * Private header for the SNMP UPS driver
5 */
7 /*
8 * Copyright (C) 2000-2004 Kern Sibbald
9 * Copyright (C) 1999-2001 Riccardo Facchetti <riccardo@apcupsd.org>
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of version 2 of the GNU General
13 * Public License as published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
20 * You should have received a copy of the GNU General Public
21 * License along with this program; if not, write to the Free
22 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23 * MA 02111-1307, USA.
26 #ifndef _SNMP_PRIVATE_H
27 #define _SNMP_PRIVATE_H
29 /* APC */
30 extern int powernet_snmp_ups_get_capabilities(UPSINFO *ups);
31 extern int powernet_snmp_ups_read_static_data(UPSINFO *ups);
32 extern int powernet_snmp_ups_read_volatile_data(UPSINFO *ups);
33 extern int powernet_snmp_ups_check_state(UPSINFO *ups);
34 extern int powernet_snmp_kill_ups_power(UPSINFO *ups);
35 extern int powernet_snmp_ups_open(UPSINFO *ups);
37 /* IETF */
38 extern int rfc1628_snmp_ups_get_capabilities(UPSINFO *ups);
39 extern int rfc1628_snmp_ups_read_static_data(UPSINFO *ups);
40 extern int rfc1628_snmp_ups_read_volatile_data(UPSINFO *ups);
41 extern int rfc1628_snmp_ups_check_state(UPSINFO *ups);
42 extern int rfc1628_snmp_kill_ups_power(UPSINFO *ups);
44 #endif /* _SNMP_PRIVATE_H */