aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/test-newsrc.c
blob: c4b985e5658d947ed594079b010f8707bf497bfa (plain) (blame)
1
2
3
4
5
6
7
8
9
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);
}