/*
- * $Id$
- *
* WebCit setup utility
*
* (This is basically just an install wizard. It's not required.)
- *
*/
#include "sysdep.h"
int using_web_installer = 0;
char suggested_url[SIZ];
-/* some copies... */
-int lprintf(int loglevel, const char *format, ...){return 0;}
+/* some copies...
+int syslog(int loglevel, const char *format, ...){return 0;} */
+void wc_printf(const char *format,...){}
+
void RegisterNS(const char *NSName, long len,
int nMinArgs,
int nMaxArgs,
WCHandlerFunc HandlerFunc,
+ WCPreevalFunc PreEvalFunc,
int ContextRequired){}
+void StrBufAppendTemplateStr(StrBuf *Target,
+ WCTemplputParams *TP,
+ const char *Source,
+ int FormatTypeIndex){}
+void RegisterHeaderHandler(const char *Name, long Len, Header_Evaluator F){}
pthread_key_t MyConKey;
-#include "wc_gettext.h"
-
#ifdef ENABLE_NLS
#ifdef HAVE_USELOCALE
}
-extern char **AvailLang;
+extern const char *AvailLang[];
int GetLocalePrefs(void)
{
int nLocales;
int i = 0;
int offs = 0;
-
nLocales = 0;
while (!IsEmptyStr(AvailLang[nLocales]))
nLocales++;
int a;
char aaa[256];
int info_only = 0;
+
strcpy(suggested_url, "http://<your_host_name>:<port>/");
/* set an invalid setup type */