aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test10.c
blob: 3db63bfd3e98ff3da61e7c7d508822874fceccd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */


#include "camel.h"
#include "camel-mbox-folder.h"
#include "camel-mbox-parser.h"
#include "camel-mbox-utils.h"
#include "camel-mbox-summary.h"
#include "camel-log.h"
#include "camel-exception.h"
#include "md5-utils.h"
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <glib.h>

int
main (int argc, char**argv)
{
    CamelSession *session;
    CamelException *ex;
    CamelStore *store;
    gchar *store_url = "mbox:///tmp/evmail";
    CamelFolder *folder;


    camel_debug_level = 10;

    gtk_init (&argc, &argv);
    camel_init ();      
    ex = camel_exception_new ();
    camel_provider_register_as_module ("../camel/providers/mbox/.libs/libcamelmbox.so");
    
    session = camel_session_new ();
    store = camel_session_get_store (session, store_url);
    

    folder = camel_store_get_folder (store, "Inbox");
    
    camel_folder_open (folder, FOLDER_OPEN_RW, ex);
    

    return 1;
}  



gnome/commit/lang?h=mate-1.18&id=83f15413130788758e0912bbc217e0ce004570e8'>- Fix build on i386 [1]lwhsu2011-11-072-2/+2 * Standardize WWW: tags a bit more:dougb2011-11-071-12/+12 * Remove support for Objective C. None of the dependencies left needs it.gerald2011-11-063-5/+1 * Refer to GCC 4.6 as replacement instead of GCC 4.5.gerald2011-11-061-1/+1 * - Unbreak on FreeBSD 10miwi2011-11-061-0/+30 * - Unbreak on FreeBSD 10miwi2011-11-062-0/+60 * - Fix build on FreeBSD 10miwi2011-11-061-0/+30 * Update to the 20111104 snapshot of GCC 4.6.3.gerald2011-11-052-4/+4 * Update to the 20111103 snapshot of GCC 4.5.4.gerald2011-11-052-3/+3 * - Remove outdated patch to prune __wchar_t from CFLAGS (python-config --cflags)sunpoet2011-11-056-24/+11 * Reassign stas' ports back to the pool at his request, thanks for your yearstabthorpe2011-11-051-1/+1 * - Remove gmake as a dependency, it's not necessarygarga2011-11-051-1/+0 * Upgrade to 3.7.3.vanilla2011-11-038-104/+141 * Remove ports@ ports that have been DEPRECATED for at least 1 monthdougb2011-11-0212-989/+0 * Send ports@ ruby ports over ruby@pgollucci2011-11-025-5/+5 * Let ruby@ maintain rubypgollucci2011-11-022-2/+2 * Remove references to unsupported FreeBSD versions. Mostly of the form:dougb2011-11-021-6/+0 * - Update to lastest security patchset: 20111030miwi2011-11-012-20/+5 * x11-toolkits/gambas2-gb-qt has been broken for over a year.dougb2011-11-0115-1439/+0 * Update cduce to 0.5.5johans2011-10-312-3/+3 * Update to the 20111029 snapshot of GCC 4.7.0.gerald2011-10-306-6/+18 * - fix build for FreeBSD-9dinoex2011-10-301-1/+10 * - honor LDFLAGSdinoex2011-10-301-3/+3 * Update to the 20111028 snapshot of GCC 4.6.3, nearly the same as thegerald2011-10-292-3/+3 * - Fix build on FreeBSD 10miwi2011-10-291-0/+1 * - Fix build on FreeBSD 10miwi2011-10-294-0/+4 * - Fix build with FreeBSD 10miwi2011-10-291-0/+1 * - Fix build on FreeBSD 10beat2011-10-2823-26/+63 * - Replace pre-configure target with WITH_FBSD10_FIX as we have a fix inbeat2011-10-271-8/+1 * Fix build on powerpc as is done on other python portserwin2011-10-271-1/+1 * Fix build on FreeBSD 10erwin2011-10-276-18/+32 * Fix build on FreeBSD 10.0erwin2011-10-271-0/+30 * - Updated to latest stable version (5.10.5)glarkin2011-10-2710-333/+238 * Adopt during Stas's hiatusbf2011-10-261-1/+1 * - Update to 0.15.1wen2011-10-262-3/+3 * Update to 3.9.0skv2011-10-254-19/+5 * Fix plist when the THREADS option is off. Also convert to @dirrmtrydougb2011-10-252-28/+30 * The vast majority of pkg-descr files had the following format when theydougb2011-10-2415-36/+10 * Remove more tags from pkg-descr files fo the form:dougb2011-10-2425-70/+2 * - honor PREFIXdinoex2011-10-241-0/+1 * - Update to 0.21sunpoet2011-10-243-13/+8 * - Return my ports back to the pool. I was unable to make any fixes tostas2011-10-2428-28/+28 * - Update to 3.7a [1]ehaupt2011-10-244-104/+325 * Update to the 20111022 snapshot of GCC 4.7.0.gerald2011-10-244-6/+6 * Remove expired port:rene2011-10-237-1582/+0 * Update to the 20111021 snapshot of GCC 4.6.2, which is pretty muchgerald2011-10-232-3/+3 * Replacement for the GNU Objective-C runtime supporting the featuresdinoex2011-10-206-0/+152 * - add some MACROS for testingdinoex2011-10-201-1/+1 * Update to 0.92.1behaupt2011-10-193-7/+11 * - Update to 1.3.2sahil2011-10-182-3/+3 * Do not include util.h.olgeni2011-10-182-0/+30 * Upgrade to r141985. The is contemporary with the creation of the 3.0brooks2011-10-183-14/+48 * Update Algol-68 Genie to 2.3.2johans2011-10-182-4/+4 * - update fftw3* to 3.3 [1], and adjust dependent portsbf2011-10-171-1/+1 * Set MAINTAINER to ruby@ instead of ports@.knu2011-10-171-1/+1 * Update to 1.6.4.knu2011-10-173-5/+4 * - Chase editors/emacs updateashish2011-10-175-5/+5 * Remove references to mysql 323 and 40, most commonly of the form:dougb2011-10-173-3/+0 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-175-0/+70 * Update to the 20111014 snapshot of GCC 4.6.2.gerald2011-10-162-3/+3 * Update to the 20111015 snapshot of GCC 4.7.0.gerald2011-10-164-6/+6 * Update to the 20111013 snapshot of GCC 4.5.4.gerald2011-10-162-3/+3 * Add ats 0.2.5, a language with a type system rooted in the Applied Typelwhsu2011-10-158-0/+641 * - Fix a typowen2011-10-111-1/+1 * Update ImageMagick to 6.7.2-10 (shlib bumped to .5)mm2011-10-111-2/+2 * BASIC-256 is an easy to use version of BASIC designed to teach anybodywen2011-10-117-0/+299 * - Fix logical errors in DOCFORMAT and PYTHON_REL detectionssunpoet2011-10-102-185/+266 * Unset CCL_DEFAULT_DIRECTORY before running the CCL compiler, elseolgeni2011-10-101-3/+3 * Update to the 20111008 snapshot of GCC 4.7.0.gerald2011-10-104-6/+6 * Remove ports maintainted by ports@ which have passed their EXPIRATION_DATEdougb2011-10-095-90/+0 * For ports that have an EXPIRATION_DATE which has already passed, butdougb2011-10-092-0/+6 * Update to 2.10.6.romain2011-10-092-3/+3 * Add MAKE_JOBS_UNSAFEdougb2011-10-091-0/+2 * Update to the 20111007 snapshot of GCC 4.6.2.gerald2011-10-092-3/+3 * Update documentation tarball checksum due to minor errors.olgeni2011-10-074-4/+6 * Update to 20111005jlaffaye2011-10-073-3/+4 * - Update to 3.2.11.stas2011-10-073-25/+18 * Add MAKE_JOBS_UNSAFE[1] and fix portlint warnings.olgeni2011-10-062-6/+10 * Upgrade to version R14B04.olgeni2011-10-068-114/+116 * - Mark BROKEN: unfetchablepav2011-10-051-0/+2 * Update to the 20111001 snapshot of GCC 4.7.0.gerald2011-10-026-6/+44 * . Update to 2.9.1.glewis2011-10-023-149/+149 * Update to the 20110929 snapshot of GCC 4.5.4.gerald2011-10-022-3/+3 * Update to the 20110930 snapshot of GCC 4.6.2.gerald2011-10-022-3/+3 * - security fixes for CVE-2011-2202, CVE-2011-1938, CVE-2011-1148,delphij2011-09-302-3/+28 * Fix build error with clang.vanilla2011-09-282-0/+40 * Omit LATEST_LINK to disambiguate this port from the original lang/gcc46.gerald2011-09-281-1/+0 * - update libmatroska to 1.3.0bapt2011-09-271-0/+1 * - Update to 3.20110707pgj2011-09-271-0/+1 * Mark FORBIDDEN the remaining ports that are vulnerable for more thandougb2011-09-261-0/+3 * Connect the new gcc port.gerald2011-09-261-0/+1 * Welcome the new lang/gcc port! This shall track our preferred versiongerald2011-09-264-21/+31 * - Remove the HUGE_STACK_SIZE option, now Python will use defaultlwhsu2011-09-256-38/+6 * Prepare for the inclusion of lang/gcc, which is going to track ourgerald2011-09-252-14/+19 * Update to the 20110924 snapshot of GCC 4.7.0.gerald2011-09-254-6/+6 * Remove 0-byte filesdougb2011-09-252-0/+0 * Fix build error with clang.vanilla2011-09-256-0/+98 * - Fix plistswills2011-09-251-0/+1 * - Mark BROKEN: does not compilepav2011-09-251-0/+2 * Update to the 20110923 snapshot of GCC 4.6.2.gerald2011-09-252-3/+3 * Update to the 20110922 snapshot of GCC 4.5.4.gerald2011-09-252-3/+3 * Mark BROKEN and DEPRECATED, set EXPIRATION_DATE to 2011-10-23pawel2011-09-241-0/+4 * - Update to 1.69.34dhn2011-09-24