move nntp stuff to .h header file, bitches
[citadel.git] / citadel / modules / nntp / serv_nntp.h
diff --git a/citadel/modules/nntp/serv_nntp.h b/citadel/modules/nntp/serv_nntp.h
new file mode 100644 (file)
index 0000000..0a734c4
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * 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;
+};
+
+