Merge pull request #2680 from masterwishx/work2471-eco_addon
[networkupstools.git] / server / desc.h
bloba574831e907beaf5fac8f2227a0173d8c910d52f
1 /* desc.h - variable/command description handling for upsd
3 Copyright (C)
4 2003 Russell Kroll <rkroll@exploits.org>
5 2005 Arnaud Quette <arnaud.quette@free.fr>
6 2013 Emilien Kia <kiae.dev@gmail.com>
7 2020 Jim Klimov <jimklimov@gmail.com>
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #ifndef NUT_DESC_H_SEEN
25 #define NUT_DESC_H_SEEN 1
27 #ifdef __cplusplus
28 /* *INDENT-OFF* */
29 extern "C" {
30 /* *INDENT-ON* */
31 #endif
33 void desc_load(void);
34 void desc_free(void);
35 const char *desc_get_cmd(const char *name);
36 const char *desc_get_var(const char *name);
38 #ifdef __cplusplus
39 /* *INDENT-OFF* */
41 /* *INDENT-ON* */
42 #endif
44 #endif /* NUT_DESC_H_SEEN */