From 98520c80916e04bc4374e742e00ee7c980ffd496 Mon Sep 17 00:00:00 2001 From: Daniel Roethlisberger Date: Fri, 21 Nov 2014 16:45:45 +0100 Subject: [PATCH] Remove old struct definition --- log.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/log.h b/log.h index bb83622..8c86782 100644 --- a/log.h +++ b/log.h @@ -57,30 +57,7 @@ extern logger_t *connect_log; #define log_connect_write_free(buf, sz) \ logger_write_freebuf(connect_log, NULL, 0, (buf), (sz)) -/* per-connection ctx struct for content logging */ -typedef struct log_content_ctx -#if 0 -{ - unsigned int open : 1; - - /* used by all content log types */ - int fd; - /* content log type specific data */ - union { - struct { - char *header_in; - char *header_out; - } file; - struct { - char *filename; - } dir; - struct { - char *filename; - } spec; - } u; -} -#endif -log_content_ctx_t; +typedef struct log_content_ctx log_content_ctx_t; int log_content_open(log_content_ctx_t **, opts_t *, char *, char *, char *, char *, char *) NONNULL(1,2,3) WUNRES; void log_content_submit(log_content_ctx_t *, logbuf_t *, int) NONNULL(1,2);