/*
* $Id$
- */
-/**
- * \defgroup ManagePrefs Manage user preferences with a little help from the Citadel server.
- * \ingroup CitadelConfig
+ *
+ * Manage user preferences with a little help from the Citadel server.
*
*/
-/*@{*/
+
#include "webcit.h"
#include "webserver.h"
#include "groupdav.h"
-
-//// tmp
-#include <stdio.h>
-
-/**
- * \brief display preferences dialog
+/*
+ * display preferences dialog
*/
void load_preferences(void) {
char buf[SIZ];
long msgnum = 0L;
char key[SIZ], value[SIZ];
- char *pBuf;
serv_printf("GOTO %s", USERCONFIGROOM);
serv_getln(buf, sizeof buf);
}
}
- /** Go back to the room we're supposed to be in */
+ /* Go back to the room we're supposed to be in */
serv_printf("GOTO %s", WC->wc_roomname);
serv_getln(buf, sizeof buf);
}
Hash = WC->hash_prefs;
PrintHash(Hash);
HashPos = GetNewHashPos();
- printf("_______> writing entries\n");
while (GetNextHashPos(Hash, HashPos, &len, &Key, (void**)&Value)!=0)
{
- printf("__________>%s -> %s \n", Key, Value);
serv_printf("%s|%s", Key, Value);
}
serv_puts("");