summaryrefslogtreecommitdiffstats
path: root/innbbsd/his.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-08 15:54:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-08 15:54:00 +0800
commit271bcfc4e7d98aafb59b6e67399244f635ee74e8 (patch)
tree6c8c84e636581109db1de66d4036441c36b607c8 /innbbsd/his.h
parent9b4d34a17c6061171456ae8e4b63dcd270f53091 (diff)
downloadpttbbs-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/his.h')
-rw-r--r--innbbsd/his.h47
1 files changed, 22 insertions, 25 deletions
diff --git a/innbbsd/his.h b/innbbsd/his.h
index f54efc01..fab0f76e 100644
--- a/innbbsd/his.h
+++ b/innbbsd/his.h
@@ -11,48 +11,45 @@
#include "dbz.h"
#ifndef XINDEXDIR
-# define XINDEXDIR "/homec/xindex"
+#define XINDEXDIR "/homec/xindex"
#endif
#ifndef _PATH_HISTORY
-# define _PATH_HISTORY "/u/staff/bbsroot/csie_util/bntpd/history"
+#define _PATH_HISTORY "/u/staff/bbsroot/csie_util/bntpd/history"
#endif
#ifndef _PATH_COVERVIEW
-# define _PATH_COVERVIEW ".coverview"
+#define _PATH_COVERVIEW ".coverview"
#endif
#ifndef _PATH_COVERVIEWDIR
-# define _PATH_COVERVIEWDIR "/homec/xindex"
+#define _PATH_COVERVIEWDIR "/homec/xindex"
#endif
#ifndef XINDEX_DBZINCORE
-# define XINDEX_DBZINCORE 1
+#define XINDEX_DBZINCORE 1
#endif
#ifndef XINDEXNAME
-# define XINDEXNAME ".index"
+#define XINDEXNAME ".index"
#endif
#ifndef XINDEXDBM
-# define XINDEXDBM ".dbm"
+#define XINDEXDBM ".dbm"
#endif
#ifndef XINDEXINFO
-# define XINDEXINFO ".info"
+#define XINDEXINFO ".info"
#endif
#define LEN 1024
struct t_article {
- long artnum;
- char subject[LEN]; /* Subject: line from mail header */
- char from[LEN]; /* From: line from mail header (address)
- */
- char name[LEN]; /* From: line from mail header (full nam
-e) */
- long date; /* Date: line from header in seconds */
- char xref[LEN]; /* Xref: cross posted article reference
-line */
- int lines; /* Lines: number of lines in article */
- char *archive; /* Archive-name: line from mail header */
- char *part; /* part no. of archive */
- char *patch; /* patch no. of archive */
+ long artnum;
+ char subject[LEN]; /* Subject: line from mail header */
+ char from[LEN]; /* From: line from mail header (address) */
+ char name[LEN]; /* From: line from mail header (full nam e) */
+ long date; /* Date: line from header in seconds */
+ char xref[LEN]; /* Xref: cross posted article reference line */
+ int lines; /* Lines: number of lines in article */
+ char *archive; /* Archive-name: line from mail header */
+ char *part; /* part no. of archive */
+ char *patch; /* patch no. of archive */
};
typedef struct t_article art_t;
@@ -61,12 +58,12 @@ typedef struct t_article art_t;
#define HIS_FIELDSEP '\t'
#define HIS_NOEXP "-"
#define HIS_SUBFIELDSEP '~'
-/*#define HIS_FIELDSEP2 '\034'*/
+/* #define HIS_FIELDSEP2 '\034' */
#define HIS_FIELDSEP2 'I'
#ifndef TRUE
-# define TRUE 1
-# define FALSE 0
+#define TRUE 1
+#define FALSE 0
#endif
#ifndef BOOL
@@ -74,7 +71,7 @@ typedef unsigned char BOOL;
#endif
#ifndef ICD_SYNC_COUNT
-# define ICD_SYNC_COUNT 1
+#define ICD_SYNC_COUNT 1
#endif
#endif