/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* tests mime message file parsing */ #include "stdio.h" #include "camel-mime-message.h" #include "camel-mime-part.h" #include "camel-stream.h" #include "camel-stream-fs.h" #include "camel.h" int main (int argc, char**argv) { CamelMimeMessage *message; CamelStream *input_stream; CamelException *ex = camel_exception_new (); gtk_init (&argc, &argv); camel_init (); message = camel_mime_message_new (); input_stream = camel_stream_fs_new_with_name ("mail.test", O_RDONLY, 0, ex); if (!input_stream) { perror ("could not open input file\n"); printf ("You must create the file mail.test before running this test\n"); exit(2); } camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream); camel_medium_get_content_object (CAMEL_MEDIUM (message)); #if 0 camel_stream_close (input_stream); gtk_object_unref (GTK_OBJECT (input_stream)); output_stream = camel_stream_fs_new_with_name ("mail2.test", O_WRONLY|O_TRUNC|O_CREAT, 0600); camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), output_stream); camel_stream_close (output_stream); gtk_object_unref (GTK_OBJECT (output_stream)); //gtk_object_unref (GTK_OBJECT (message)); #endif return 0; } ome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sipp
Commit message (Expand)AuthorAgeFilesLines
* BROKEN_SSL: Add REASON for breakagebrnrd2018-02-171-0/+1
* security/openssl-devel: Mark broken category benchmarksbrnrd2018-02-161-0/+1
* Mark some ports failing on power64. In cases where the error messagelinimon2017-05-131-0/+2
* Add missing build dependency for benchmarks/sippfarrokhi2017-01-231-0/+2
* benchmarks/sipp: Fix stage-QA and restore curses supportmarino2017-01-131-3/+4
* Update benchmarks/sipp to 3.5.1farrokhi2017-01-092-8/+6
* - Fix trailing whitespace in pkg-descrs, categories [a-f]*amdmi32016-05-191-2/+2
* Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.mat2016-04-011-1/+1
* benchmarks/sipp: document ncurses requirement (USES+=ncurses)marino2016-02-071-1/+4
* - Update to 3.4.1farrokhi2015-09-045-305/+25
* MASTER_SITES cleanup.mat2015-05-141-1/+0
* Add missing USE_OPENSSL=yestijl2015-01-151-1/+2
* Clean up some now useless PLIST_DIRS*bapt2014-12-201-3/+0
* math/gsl:tijl2014-08-171-0/+1
* Reset maintainer, email bouncesantoine2014-06-271-1/+1
* Support stagingehaupt2014-02-091-7/+5
* In preparation for making libtool generate libraries with a sane name, fix allbapt2013-12-111-1/+1
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1
* Convert benchmarks from USE_GMAKE to USES=gmakebapt2013-08-311-1/+1
* Update math/gsl to 1.16 and adjust some dependent portsbf2013-08-271-1/+1
* Fix conversion to new options framworkbapt2013-03-231-1/+1
* Convert to new options framework left unconverted ports in b* categoriesbapt2013-03-221-21/+20
* - Update to 3.3miwi2013-02-104-26/+49
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2
* Update math/gsl to 1.15, and adjust PORTREVISIONbf2011-05-101-1/+1
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - Fix build: CPP is now part of MAKE_ENVpav2010-11-081-2/+2
* - Add Licensemiwi2010-06-271-0/+2
* - Bump PORTREVISION to chase the update of math/gslwen2010-03-291-1/+2
* - Update to 3.1.20090729amdmi32009-12-082-6/+5
* Chase math/gsl update,makc2009-12-021-1/+2
* - Update to 3.1.20090121pav2009-03-232-6/+6
* - Chase gsl shlib bumpmiwi2009-01-131-1/+2
* - Update to 3.1.20080826miwi2008-08-302-5/+5
* [maintainer update] benchmarks/sipp: update to 3.1.20080723edwin2008-08-152-8/+6
* - Update to 3.1jadawin2008-05-085-44/+26
* - Chase the gsl shared lib bump.jadawin2008-04-081-1/+2
* - Update to 3.0.araujo2008-01-174-6/+28
* - Update to 2.0.20071129.araujo2008-01-042-5/+5
* - Forced commit after repocopy.araujo2007-12-176-98/+6
* - Update to 2.0.20070906miwi2007-09-154-38/+14
* chase math/gsl lib versionijliao2007-06-291-1/+2
* - Update to 2.0miwi2007-05-272-6/+6
* Update to 1.1.r8.20070327.stefan2007-04-062-5/+5
* Update to 1.1.r8.20070307ehaupt2007-03-082-5/+5
* - Update to 1.1.r8.20070225miwi2007-03-013-5/+29
* - Update to 1.1.r8.20070130rafan2007-01-313-15/+39
* - Update to 1.1.r8.20070116miwi2007-01-182-11/+15
* - Update to 1.1.r6.20061208miwi2006-12-229-344/+161
* Fix build on ia64.shaun2006-12-111-4/+6
* update to 1.1.r6itetcu2006-09-114-20/+31