* copy daves great handler script and modify it to fit the simpler needs of webcit.
[citadel.git] / webcit / pushemail.c
index e67c04b47e023364197743554385d586c89d8862..4b2e753d4ec203409f0b31cad281d81800853bf5 100644 (file)
@@ -111,3 +111,11 @@ void save_pushemail(void) {
        serv_getln(buf, sizeof buf);
        http_redirect("display_pushemail");
 }
+
+void 
+InitModule_PUSHMAIL
+(void)
+{
+       WebcitAddUrlHandler(HKEY("display_pushemail"), display_pushemail, 0);
+       WebcitAddUrlHandler(HKEY("save_pushemail"), save_pushemail, 0);
+}