/* -*- 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); } e='id' value='19dd5e9a1b9dc2aff180be92afbf650cd2449c53'/> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/kde-icons-noia
Commit message (Expand)AuthorAgeFilesLines
* Take over maintainership of all kde-icons-* ports unless otherwiselioux2007-12-131-1/+1
* o Fix: make fetchable againlioux2007-12-122-9/+6
* With portmgr hat, reset maintainership; the various ports that depend onlinimon2007-07-221-1/+1
* - Add extra logic to Makefile.icons to handle period directorieslioux2007-03-011-0/+2
* Schedule these broken ports for removal on 2007-04-10 if they are stillkris2007-02-111-0/+2
* BROKEN: Unfetchablekris2006-09-171-0/+2
* NO_PACKAGE is superfluous herekris2006-09-031-2/+0
* Fix install: all kde-icons-* have recently become brokenlioux2006-08-301-1/+6
* Remove USE_REINPLACE from categories starting with Xedwin2006-05-131-1/+0
* o Rollback previous commitlioux2006-02-081-1/+1
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+1
* o Update MASTER_SITES and distfile name, MD5 checksum remains thelioux2005-11-163-4/+6
* Add PLIST_DIR_PATTERN_EXTRA support so that it is possible to filterlioux2004-11-251-0/+4
* Improve both post-patch [1] and generate-install-scripts [2] target:lioux2004-11-211-4/+4
* PLIST_SUB is no longer necessary since PLIST is now automaticallylioux2004-11-161-1/+0
* Remove PLIST since it is now automatically generatedlioux2004-11-161-2728/+0
* Automatically generate TMPPLIST: loosely based on hlserver-cs/Makefilelioux2004-11-161-9/+52
* KDE icon themes can have either index.desktop or index.theme indexlioux2004-07-031-2/+8
* Remove noop USE_SIZElioux2004-04-081-1/+0
* o All kde-icons-* ports will be marked both RESTRICTED and NO_PACKAGElioux2004-02-251-0/+8