1 /* nut_ctype.h - client data definitions for upsd
4 2002 Russell Kroll <rkroll@exploits.org>
5 2008 Arjen de Korte <adkorte-guest@alioth.debian.org>
6 2011 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_CTYPE_H_SEEN
26 #define NUT_CTYPE_H_SEEN 1
36 # include <openssl/err.h>
37 # include <openssl/ssl.h>
40 #include "parseconf.h"
48 /* client structure */
49 typedef struct nut_ctype_s
{
56 /* per client status info for commands and settings
57 * (disabled by default) */
62 #elif defined(WITH_NSS)
71 /* doubly linked list */
72 struct nut_ctype_s
*prev
;
73 struct nut_ctype_s
*next
;
85 #endif /* NUT_CTYPE_H_SEEN */