summaryrefslogtreecommitdiff
path: root/src/crywrap/crywrap.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-08 22:14:07 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-08 22:17:10 +0100
commit76c93d23c073ef8b885503b7d28a31ffe2add6d8 (patch)
tree1dd2d22a197bc40c5330e516969a7cb1ae9bc96f /src/crywrap/crywrap.h
parent559a144f6bbcbb611453f82e655dd7438c14d1a7 (diff)
downloadgnutls-76c93d23c073ef8b885503b7d28a31ffe2add6d8.tar.gz
reindented code
Diffstat (limited to 'src/crywrap/crywrap.h')
-rw-r--r--src/crywrap/crywrap.h48
1 files changed, 25 insertions, 23 deletions
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 */