int moderatedlist = statctrl(listdir, "moderated);
Then it'll return true/false according to whether a file
listdir/control/moderated exists.
--- /dev/null
+/* Copyright (C) 2004 Mads Martin Joergensen <mmj at mmj.dk>
+ *
+ * $Id$
+ *
+ * This file is redistributable under version 2 of the GNU General
+ * Public License as described at http://www.gnu.org/licenses/gpl.txt
+ */
+
+#ifndef STATCTRL_H
+#define STATCTRL_H
+
+int statctrl(const char *listdir, const char *ctrlstr);
+
+#endif /* STATCTRL_H */