#include <limits.h>
#include "citadel.h"
#include "server.h"
-#include "sysdep_decls.h"
#include "citserver.h"
#include "support.h"
#include "config.h"
-#include "serv_extensions.h"
#include "room_ops.h"
#include "user_ops.h"
#include "policy.h"
#endif
+
+#include "ctdl_module.h"
+
+
/*
* Generate a randomizationalisticized token to use for authentication of
* a subscribe or unsubscribe request.
"\n"
"--__ctdlmultipart__\n"
"Content-type: text/html\n"
+ "\n"
"<HTML><BODY>\n"
"Someone (probably you) has submitted a request to subscribe\n"
"<%s> to the <B>%s</B> mailing list.<BR><BR>\n"
quickie_message( /* This delivers the message */
"Citadel",
+ NULL,
email,
NULL,
confirmation_request,
"\n"
"--__ctdlmultipart__\n"
"Content-type: text/html\n"
+ "\n"
"<HTML><BODY>\n"
"Someone (probably you) has submitted a request to unsubscribe\n"
"<%s> from the <B>%s</B> mailing list.<BR><BR>\n"
quickie_message( /* This delivers the message */
"Citadel",
+ NULL,
email,
NULL,
confirmation_request,
/*
* Module entry point
*/
-char *serv_listsub_init(void)
+CTDL_MODULE_INIT(listsub)
{
CtdlRegisterProtoHook(cmd_subs, "SUBS", "List subscribe/unsubscribe");
+
+ /* return our Subversion id for the Log */
return "$Id$";
}