/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* tests mime message file parsing */ #include "gmime-utils.h" #include "stdio.h" #include "camel-log.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) { GHashTable *header_table; CamelMimeMessage *message; CamelStream *input_stream, *output_stream; gtk_init (&argc, &argv); camel_init (); camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; message = camel_mime_message_new_with_session( (CamelSession *)NULL); input_stream = camel_stream_fs_new_with_name ("mail.test", CAMEL_STREAM_FS_READ); 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_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; camel_data_wrapper_set_input_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", CAMEL_STREAM_FS_WRITE); 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; } 'this.form.submit();'> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Twofish
Commit message (Expand)AuthorAgeFilesLines
* Add size data, approved by maintainers.trevor2004-03-191-0/+1
* utilize SITE_PERLijliao2003-10-241-7/+7
* Change to my FreeBSD.org addresserwin2003-06-131-1/+1
* Clean up Makefile:nork2003-04-011-10/+3
* De-pkg-comment.knu2003-02-212-1/+1
* Remove RESTRICTED tag for crypto stuff.nork2003-02-181-2/+0
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* Only use File-Spec if perl < 5.8.alane2002-10-301-3/+12
* p5-Crypt-Twofish needs newer File::Spec (than perl 5.00503's one)nork2002-09-241-0/+4
* Update to 2.12nork2002-09-214-11/+12
* Remove empty directories on uninstall.steve2001-04-151-0/+2
* Remove do-configure section, use PERL_CONFIGURE now.vanilla2001-03-011-1/+0