summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjack <jack@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 04:00:03 +0800
committerjack <jack@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 04:00:03 +0800
commit65279e4f0459af318912356e3bbd04baa2aae7e9 (patch)
treeec4264152b7bf2fe76827dce8fa4a8b5da8adb66
parent3f38764fec43f8d18e3b0f2cb8d4de6aecc8618b (diff)
downloadpttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.tar
pttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.tar.gz
pttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.tar.bz2
pttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.tar.lz
pttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.tar.xz
pttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.tar.zst
pttbbs-65279e4f0459af318912356e3bbd04baa2aae7e9.zip
Add string table to shm
git-svn-id: http://opensvn.csie.org/pttbbs/branches/Jaky.i18n@1832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/pttstruct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 80cef86c..d4df2fe9 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -424,6 +424,13 @@ typedef struct {
time_t Fuptime;
time_t Ftouchtime;
int Fbusystate;
+
+ /* i18n(internationlization) */
+ char *i18nstrptr[MAX_LANG][MAX_STRING];
+ char i18nstrbody[16 * MAX_LANG * MAX_STRING];
+ /* Based on the statistis, we found the lengh of one string
+ is 16 bytes approximately.
+ */
} SHM_t;
typedef struct {