2 * This module handles self-service subscription/unsubscription to mail lists.
4 * Copyright (c) 2002-2016 by the citadel.org team
6 * This program is open source software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
24 #include <sys/types.h>
30 #include <libcitadel.h>
33 #include "citserver.h"
39 #include "internet_addressing.h"
40 #include "clientsocket.h"
41 #include "ctdl_module.h"
45 // FIXME rewrite the subscribe-o-matic AJC 2021
49 * process subscribe/unsubscribe requests and confirmations
51 void cmd_subs(char *cmdbuf)
53 cprintf("%d Invalid command\n", ERROR + ILLEGAL_VALUE);
60 CTDL_MODULE_INIT(listsub)
64 CtdlRegisterProtoHook(cmd_subs, "SUBS", "List subscribe/unsubscribe");
67 /* return our module name for the log */