/* -*- 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); } ='id' value='26474256aba23f6a1ece67eac34236564446a711'/> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/misc
Commit message (Expand)AuthorAgeFilesLines
* Add Asia/Novokuznetsl to the pkg-plist.edwin2010-01-152-470/+472
* - Make socket executable if client attached (useful for scripts), obtained fr...pgollucci2010-01-152-1/+67
* - mark deprecated and set expirespgollucci2010-01-131-0/+3
* - adoptpgollucci2010-01-122-2/+2
* - chase devel/newt shlib bumppgollucci2010-01-111-1/+1
* - Update to 0.5.11 [1]pgollucci2010-01-111-0/+1
* bump PORTREVISION for the recent update ofoliver2010-01-102-1/+2
* With portmgr hat on, reset the maintainership of skv@ for ports thatlinimon2010-01-101-1/+1
* - Chase sword libbumptabthorpe2010-01-083-15/+4
* - Update to 1.6.1tabthorpe2010-01-086-41/+24
* Update the icon-naming-utils required from 0.8.1 to 0.8.7.mezz2010-01-071-1/+1
* 2010-01-06 misc/sword15: use misc/swordtabthorpe2010-01-0616-634/+0
* - Update to 3.1.2tabthorpe2010-01-054-96/+42
* Reset maintainer (who is also upstream author) at his request. This codelinimon2010-01-041-1/+4
* Reset cjh due to inactivity. We hope to see him back again soon.linimon2010-01-031-1/+1
* Reset vs@FreeBSD.org at his request due to lack of time.linimon2010-01-031-1/+1
* Use USE_GCC=4.4+ instead of USE_GCC=4.3+.gerald2010-01-011-1/+1
* Fix plist broken in recent commit.fjoe2009-12-301-3/+2
* Update to 2.7.5lme2009-12-304-7/+7
* Update to 20091229ahze2009-12-302-4/+4
* - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with srcmiwi2009-12-292-2/+2
* Update to tzdata2009u:edwin2009-12-292-4/+4
* Update to 4.7.0 release.fjoe2009-12-293-9/+18
* Update to 20091226 version of the FreeBSD docset.blackend2009-12-273-5/+5
* - Update to 8.1amdmi32009-12-263-31/+5
* - Update to 1.5.0wen2009-12-255-35/+212
* misc/bsdiff||2009-12-24|Incorporated into base system long agomiwi2009-12-254-38/+0
* Update to 20091223 version of the FreeBSD docset. This version containsblackend2009-12-233-5/+5
* Update to tzdata2009t:edwin2009-12-222-4/+4
* For ports maintained by ports@FreeBSD.org, remove names and/ordougb2009-12-2149-127/+1
* Changes to editors/emacs and Mk/bsd.emacs.mk were taken frombsam2009-12-211-1/+1
* - Update to 2.5tabthorpe2009-12-214-82/+141
* Update to 20091219 version of the FreeBSD docset.blackend2009-12-207-12/+13
* Update to 2.28.2.marcus2009-12-182-4/+4
* - Remove %%DATADIR%%.fjoe2009-12-181-0/+3
* - Death to APACHE_COMATpgollucci2009-12-161-2/+1
* Finish WITH_UTF8 removal.fjoe2009-12-151-10/+3
* Release maintainership.thierry2009-12-151-1/+1
* Update to 4.7.0-pre4.fjoe2009-12-159-289/+63
* - Upgrade to 2.6.1p2.kuriyama2009-12-149-57/+75
* - Get rip python 2.3+miwi2009-12-141-1/+1
* update to 3.48.1oliver2009-12-122-4/+4
* Reset nobu@psrc.isac.co.jp: address bounces.linimon2009-12-081-1/+1
* update to 3.47.1oliver2009-12-052-4/+4
* Mark as broken on sparc64: cannot find lib/compat/libpthread.so.X.linimon2009-12-042-0/+8
* - Chase taglib updatefluffy2009-12-032-0/+2
* Chase math/gsl update,makc2009-12-021-1/+2
* The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-0260-179/+337
* - Add missing patchfluffy2009-11-301-0/+11
* Update to 20091126 version of the docset.blackend2009-11-2927-12/+77
* Update to 0.3.6lioux2009-11-292-9/+9
* Update to 0.0.3lioux2009-11-294-7/+14
* Presenting GNOME 2.28.1 for FreeBSD. The official release notes for thismarcus2009-11-2918-41/+750
* The KDE FreeBSD team is proud to announce the release of KDE 4.3.3miwi2009-11-2797-246/+687
* - Update py-qt4* to 4.6.2miwi2009-11-275-14/+15
* - Update to Qt-4.5miwi2009-11-2711-82/+86
* Make MAKE_JOBS_UNSAFE to fix builds.mandree2009-11-251-0/+1
* Update to 1.4.10.2.sobomax2009-11-212-4/+4
* 2009-10-26 editors/qemacs: depends on old version of GCC, no maintainer, not ...miwi2009-11-199-727/+0
* - drop support for kde4-l10n-eo and kde4-l10n-tamiwi2009-11-191-2/+0
* - Mark MAKE_JOBS_UNSAFEpav2009-11-192-0/+3
* - Update to 2.4tabthorpe2009-11-193-23/+25
* Update to 2009s:edwin2009-11-172-4/+4
* Update to tzdata2009r:edwin2009-11-102-4/+4
* - Update to 2-21-0sylvio2009-11-092-5/+4
* - Update to 1.4.5miwi2009-11-042-4/+4
* Reset cherry@trombik.org due to maintainer-timeouts and no responselinimon2009-11-031-1/+1
* Update to 2009q:edwin2009-11-032-4/+4
* - Update to 20090926sylvio2009-11-032-5/+4
* Update to 3.11.1.kwm2009-11-024-5/+7
* - Fix CONFLICTS missed in previous committabthorpe2009-10-311-1/+1
* - Rename misc/bibletime-kde4 -> misc/bibletime now that KDE dependencies are ...tabthorpe2009-10-315-8/+7
* - Mark DEPRECATED and set EXPIRATION_DATEtabthorpe2009-10-312-1/+9
* - Remove NO_LATEST_LINKtabthorpe2009-10-302-2/+1
* - Update to 0.10.6miwi2009-10-293-6/+4
* - Update to 2.3.3tabthorpe2009-10-282-4/+4
* Update to 2009p:edwin2009-10-272-4/+4
* Be less, and more, verbose.edwin2009-10-221-1/+2
* If /var/db/zoneinfo exist, then reinstall the currently zoneinfo.edwin2009-10-221-1/+7
* - update to giflibdinoex2009-10-211-2/+5
* - Update to 0.2.23miwi2009-10-202-4/+4
* Update to tzdata2009oedwin2009-10-202-4/+4
* - drop MAINTAINERshipleeym2009-10-201-1/+1
* - update to 0.06leeym2009-10-192-4/+4
* Update to 2.18.itetcu2009-10-183-6/+6
* - Update to 2.3.2tabthorpe2009-10-152-4/+4
* - repocopy misc/tmux --> sysutils/tmuxwen2009-10-145-58/+0
* - Update to 2.3.1tabthorpe2009-10-122-4/+4
* - Remove EXPIRATION_DATEtabthorpe2009-10-081-2/+1
* - Update to 2.3tabthorpe2009-10-073-4/+46
* Update to 3.11.kwm2009-10-023-38/+4
* Update to 2009n:edwin2009-09-292-4/+4
* - Switch to libxultabthorpe2009-09-292-6/+21
* - Remove eo/fy/ta translations from kde4-l10n meta-porttabthorpe2009-09-224-3/+12
* lzmautils-devel -> xznaddy2009-09-211-1/+2
* Mark as broken on sparc64 as of last update. While here, flip thelinimon2009-09-201-2/+8
* Update to libpri 1.4.3 + bristuff-0.4.0-RC3gfjoe2009-09-174-52/+44
* o Update to 1.4.11.2;sobomax2009-09-174-9/+10
* Attempt to fix plist for sparc64 on deinstall.linimon2009-09-152-0/+3
* - Update to 2.8.0beat2009-09-142-4/+4
* Add missing on autoconf.fjoe2009-09-141-1/+1
* Update to the RELEASE_8_0_0 tag version of the FreeBSD docset.blackend2009-09-144-6/+6
* - Update to 2.26.araujo2009-09-135-83/+14
* - Update to 7.5miwi2009-09-132-4/+4
* IPA_CONV -- IPA accounting/database module for converting statisticsavl2009-09-12