From 76c93d23c073ef8b885503b7d28a31ffe2add6d8 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 8 Nov 2013 22:14:07 +0100 Subject: reindented code --- src/crywrap/crywrap.h | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'src/crywrap/crywrap.h') diff --git a/src/crywrap/crywrap.h b/src/crywrap/crywrap.h index e246e27a44..a41990f4a0 100644 --- a/src/crywrap/crywrap.h +++ b/src/crywrap/crywrap.h @@ -57,35 +57,37 @@ * Most of the CryWrap configuration - those options that are settable * via the command-line are stored in a variable of this type. */ -typedef struct -{ +typedef struct { /** Properties of the listening socket. */ - struct - { - in_port_t port; - struct sockaddr_storage *addr; - } listen; + struct { + in_port_t port; + struct sockaddr_storage *addr; + } listen; /** Properties of the destination socket. */ - struct - { - in_port_t port; - char *host; - struct sockaddr_storage *addr; - } dest; + struct { + in_port_t port; + char *host; + struct sockaddr_storage *addr; + } dest; - gnutls_priority_t priority; /**< GnuTLS priority string. */ - const char *pidfile; /**< File to store our PID in. */ - uid_t uid; /**< User ID to run as. */ - int inetd; /**< InetD-mode toggle. */ - int anon; /**< Anon-DH toggle. */ - int verify; /**< Client certificate verify level. */ - int debug; + gnutls_priority_t priority; + /**< GnuTLS priority string. */ + const char *pidfile; + /**< File to store our PID in. */ + uid_t uid; + /**< User ID to run as. */ + int inetd; + /**< InetD-mode toggle. */ + int anon; + /**< Anon-DH toggle. */ + int verify; + /**< Client certificate verify level. */ + int debug; } crywrap_config_t; -/** @} *//* End of the Options group */ - -#endif /* !_CRYWRAP_H */ + /** @} *//* End of the Options group */ +#endif /* !_CRYWRAP_H */ -- cgit v1.2.1