#include "locate_host.h"
#include "citadel_dirs.h"
#include "ctdl_module.h"
-
+#include "serv_nntp.h"
extern long timezone;
}
-// FIXME move this to a header file
-struct nntp_msglist {
- int num_msgs;
- long *msgnums;
-};
-
-
/*
* Utility function to fetch the current list of message numbers in a room
*/
}
-struct nntp_list_data {
- int list_format;
-};
-
-
/*
* Called once per room by nntp_list() to qualify and possibly output a single room
*/
--- /dev/null
+/*
+ * Header file for NNTP server module
+ *
+ * Copyright (c) 2014 by the citadel.org team
+ *
+ * This program is open source software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+
+// data returned by a message list fetch
+struct nntp_msglist {
+ int num_msgs;
+ long *msgnums;
+};
+
+
+// data passed by the LIST commands to its helper function
+struct nntp_list_data {
+ int list_format;
+};
+
+