/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ #include #include "camel.h" #include "camel-nntp-store.h" #include "camel-session.h" #include "camel-exception.h" static char* authenticator (char *prompt, gboolean secret, CamelService *service, char *item, CamelException *ex) { } static void print_name(gpointer data, gpointer foo) { printf ("%s\n", (char*)data); } int main (int argc, char **argv) { CamelSession *session; CamelException *ex; CamelStore *store; CamelFolder *n_p_m_a; GList *groups; const gchar *news_url = "news://news.mozilla.org"; gtk_init (&argc, &argv); camel_init (); ex = camel_exception_new (); g_assert (camel_provider_register_as_module ("/usr/local/lib/evolution/camel-providers/0.0.1/libcamelnntp.so")); session = camel_session_new (authenticator); store = camel_session_get_store (session, news_url, ex); g_assert (store); camel_nntp_store_subscribe_group (store, "netscape.public.mozilla.announce"); printf ("subscribed groups on %s\n", news_url); groups = camel_nntp_store_list_subscribed_groups (store); g_list_foreach(groups, print_name, NULL); n_p_m_a = camel_store_get_folder (store, "netscape.public.mozilla.announce", ex); camel_folder_open(n_p_m_a, FOLDER_OPEN_READ, ex); camel_folder_close(n_p_m_a, FALSE, ex); } put type='hidden' name='showmsg' value='1'/> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/comms/splat
Commit message (Collapse)AuthorAgeFilesLines
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-0/+1
| | | | comms)
* - Simple cosmetic change to use OPTIONS_RADIOdb2012-12-241-3/+3
| | | | Submitted by: bapt@
* - tidy up headerdb2012-11-065-29/+116
| | | | | | | | | | | | | | | | - options for various versions of splat! - add LICENSE - update to 1.4.0 This release introduces a new contour smoothing feature (used to generate the graphic shown in Figure 1 below), introduces a color key overlay to GoogleEarth contour displays, and supplants the Longley-Rice propagation model with a new Irregular Terrain with Obstructions Model (ITWOM v3.0) created by Sid Shumate, President of Givens & Bell, Inc. The ITWOM model promises improved performance and greater accuracy over the older ITM model used in the past. Feature safe: yes
* - remove maintainer tags from pkg-descreadler2011-10-231-3/+0
| | | | | Approved by: portmgr Approved by: bapt (mentor)
* - Get Rid MD5 supportmiwi2011-03-20