From afed99da62c054ce65aa2f1e17ff06d7403675a0 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 17 May 2002 21:01:06 +0000 Subject: more typedef struct separations. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2805 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/log.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/core/log.h') diff --git a/src/core/log.h b/src/core/log.h index 6ada7c65..da97fb2c 100644 --- a/src/core/log.h +++ b/src/core/log.h @@ -10,13 +10,16 @@ enum { typedef char *(*COLORIZE_FUNC)(const char *str); -typedef struct { +typedef struct _LOG_REC LOG_REC; +typedef struct _LOG_ITEM_REC LOG_ITEM_REC; + +struct _LOG_ITEM_REC { int type; char *name; char *servertag; -} LOG_ITEM_REC; +}; -typedef struct { +struct _LOG_REC { char *fname; /* file name, in strftime() format */ char *real_fname; /* the current expanded file name */ int handle; /* file handle */ @@ -31,7 +34,7 @@ typedef struct { unsigned int autoopen:1; /* automatically start logging at startup */ unsigned int failed:1; /* opening log failed last time */ unsigned int temp:1; /* don't save this to config file */ -} LOG_REC; +}; extern GSList *logs; -- cgit v1.2.3