]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/nntp/serv_nntp.h
We have a read-only, reader-only NNTP service finished. Preparing the code for merge...
[citadel.git] / citadel / modules / nntp / serv_nntp.h
index e7aed6e1d3ae430f44263f1f2f9c3a69d19c182f..672dd6779089cf1454f1df32dd4979e2222b382d 100644 (file)
@@ -36,10 +36,23 @@ struct listgroup_range {
 };
 
 
-
 typedef struct _citnntp {              // Information about the current session
-       int foo;                        // dummy thingo
+       long current_article_number;
 } citnntp;
 
+
+//
+// Various output formats for the LIST commands
+//
+enum {
+       NNTP_LIST_ACTIVE,
+       NNTP_LIST_ACTIVE_TIMES,
+       NNTP_LIST_DISTRIB_PATS,
+       NNTP_LIST_HEADERS,
+       NNTP_LIST_NEWSGROUPS,
+       NNTP_LIST_OVERVIEW_FMT
+};
+
+
 int wildmat(const char *text, const char *p);