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); }