aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/test-newsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/nntp/test-newsrc.c')
-rw-r--r--camel/providers/nntp/test-newsrc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/camel/providers/nntp/test-newsrc.c b/camel/providers/nntp/test-newsrc.c
new file mode 100644
index 0000000000..c4b985e565
--- /dev/null
+++ b/camel/providers/nntp/test-newsrc.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <glib.h>
+#include "camel-nntp-newsrc.h"
+
+int
+main(int argc, char *argv[])
+{
+ CamelNNTPNewsrc *newsrc = camel_nntp_newsrc_read_for_server (argv[1]);
+ camel_nntp_newsrc_write_to_file (newsrc, stdout);
+}