diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-08 15:54:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-08 15:54:00 +0800 |
commit | 271bcfc4e7d98aafb59b6e67399244f635ee74e8 (patch) | |
tree | 6c8c84e636581109db1de66d4036441c36b607c8 /innbbsd/daemon.h | |
parent | 9b4d34a17c6061171456ae8e4b63dcd270f53091 (diff) | |
download | pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.tar pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.tar.gz pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.tar.bz2 pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.tar.lz pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.tar.xz pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.tar.zst pttbbs-271bcfc4e7d98aafb59b6e67399244f635ee74e8.zip |
indent -i4
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1473 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/daemon.h')
-rw-r--r-- | innbbsd/daemon.h | 62 |
1 files changed, 31 insertions, 31 deletions
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 <time.h> #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 |