Merge pull request #2680 from masterwishx/work2471-eco_addon
[networkupstools.git] / server / netmisc.h
blob8513190460c0c60f74afaccc6d2922a0b69af463
1 /* netmisc.h - miscellaneous network handlers for upsd (VER, HELP, FSD)
3 Copyright (C)
4 2003 Russell Kroll <rkroll@exploits.org>
5 2007 Peter Selinger <selinger@users.sourceforge.net>
6 2012 Arnaud Quette <arnaud.quette.free.fr>
7 2013 Emilien Kia <kiae.dev@gmail.com>
8 2020 Jim Klimov <jimklimov@gmail.com>
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
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
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 #ifndef NUT_NETMISC_H_SEEN
26 #define NUT_NETMISC_H_SEEN 1
28 #ifdef __cplusplus
29 /* *INDENT-OFF* */
30 extern "C" {
31 /* *INDENT-ON* */
32 #endif
34 void net_ver(nut_ctype_t *client, size_t numarg, const char **arg);
35 void net_netver(nut_ctype_t *client, size_t numarg, const char **arg);
36 void net_help(nut_ctype_t *client, size_t numarg, const char **arg);
37 void net_fsd(nut_ctype_t *client, size_t numarg, const char **arg);
39 #ifdef __cplusplus
40 /* *INDENT-OFF* */
42 /* *INDENT-ON* */
43 #endif
45 #endif /* NUT_NETMISC_H_SEEN */