X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitadel_ipc.c;h=7bb8caad0635a33365389f112e6b08e2315fe431;hb=266e75a42b41389c5fe5de8e66b725dcc79e9062;hp=9e0c43377e7e6bfa7990523c0ea5ed10b1d46936;hpb=561f7b449686451daed3e7b4b5423b625e5ea570;p=citadel.git diff --git a/citadel/citadel_ipc.c b/citadel/citadel_ipc.c index 9e0c43377..7bb8caad0 100644 --- a/citadel/citadel_ipc.c +++ b/citadel/citadel_ipc.c @@ -80,6 +80,9 @@ static void CtdlIPC_getline(CtdlIPC* ipc, char *buf); static void CtdlIPC_putline(CtdlIPC *ipc, const char *buf); + +const char *svn_revision(void); + /* * Does nothing. The server should always return 200. */ @@ -717,6 +720,20 @@ int CtdlIPCServerInfo(CtdlIPC *ipc, char *cret) break; case 15: ipc->ServInfo.newuser_disabled = atoi(buf); break; + case 16: strcpy(ipc->ServInfo.default_cal_zone, buf); + break; + case 17: ipc->ServInfo.load_avg = atof(buf); + break; + case 18: ipc->ServInfo.worker_avg = atof(buf); + break; + case 19: ipc->ServInfo.thread_count = atoi(buf); + break; + case 20: ipc->ServInfo.has_sieve = atoi(buf); + break; + case 21: ipc->ServInfo.fulltext_enabled = atoi(buf); + break; + case 22: strcpy(ipc->ServInfo.svn_revision, buf); + break; } }