From 271bcfc4e7d98aafb59b6e67399244f635ee74e8 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 8 Jan 2004 07:54:00 +0000 Subject: indent -i4 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1473 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- innbbsd/daemon.h | 62 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'innbbsd/daemon.h') diff --git a/innbbsd/daemon.h b/innbbsd/daemon.h index d056051f..36384a20 100644 --- a/innbbsd/daemon.h +++ b/innbbsd/daemon.h @@ -5,50 +5,50 @@ #include #ifndef ARG -# ifdef __STDC__ -# define ARG(x) x -# else -# define ARG(x) () -# endif +#ifdef __STDC__ +#define ARG(x) x +#else +#define ARG(x) () +#endif #endif struct Argv_t { - FILE *in,*out; - int argc; - char **argv; - char *inputline; - struct Daemoncmd *dc; + FILE *in, *out; + int argc; + char **argv; + char *inputline; + struct Daemoncmd *dc; }; typedef struct Argv_t argv_t; typedef struct Buffer_t { - char *data; - int used, left, lastread; -} buffer_t; + char *data; + int used, left, lastread; +} buffer_t; typedef struct ClientType { - char hostname[1024]; - char username[32]; - char buffer[4096]; - int mode; - argv_t Argv; - int fd, access, lastread, midcheck; - buffer_t in,out; - int ihavecount, ihavesize, ihaveduplicate, ihavefail; - int statcount, statfail; - time_t begin; -} ClientType; + char hostname[1024]; + char username[32]; + char buffer[4096]; + int mode; + argv_t Argv; + int fd, access, lastread, midcheck; + buffer_t in, out; + int ihavecount, ihavesize, ihaveduplicate, ihavefail; + int statcount, statfail; + time_t begin; +} ClientType; typedef struct Daemoncmd { - char *name; - char *usage; - int argc, argno, errorcode, normalcode; - int (*main) ARG(( ClientType*)); -} daemoncmd_t; - -extern void installdaemon ARG((daemoncmd_t *,int,char*)); + char *name; + char *usage; + int argc, argno, errorcode, normalcode; + int (*main) ARG((ClientType *)); +} daemoncmd_t; + +extern void installdaemon ARG((daemoncmd_t *, int, char *)); extern ClientType *Channel; #endif -- cgit v1.2.3