From 65279e4f0459af318912356e3bbd04baa2aae7e9 Mon Sep 17 00:00:00 2001 From: jack Date: Fri, 23 Apr 2004 20:00:03 +0000 Subject: Add string table to shm git-svn-id: http://opensvn.csie.org/pttbbs/branches/Jaky.i18n@1832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 { -- cgit v1.2.3