/* -*- 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; } '>cinnamon FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/net/ntopng/distinfo
Commit message (Expand)AuthorAgeFilesLines
* Update ntopng to latest upstream branch snapshot.Guido Falsi2021-03-131-3/+3
* - Add unconditional dependency on gcrypt and libgpg-error to ndpiGuido Falsi2021-01-261-3/+3
* Update ndpi and ntopng to latest upstream snapshot.Guido Falsi2020-12-291-3/+3
* - Update nDPI to latest upstream stable snapshotGuido Falsi2020-11-041-3/+3
* - Update ndpi to 3.4 branchGuido Falsi2020-10-241-3/+3
* Update ntopng to latest upstream stable rvision.Guido Falsi2020-10-021-3/+3
* Update ntopng to latest upstream commit.Guido Falsi2020-08-071-3/+3
* - Update ntopng to latest upstream commitGuido Falsi2020-06-161-3/+3
* Update ntopng to latest upstream commit.Guido Falsi2020-06-021-3/+3
* Update nDPI and ntopng to latest upstream snapshot versions.Guido Falsi2020-04-151-3/+3
* - Update nDPI to 3.2.d20200324Guido Falsi2020-03-271-3/+3
* Update ntopng to 3.8.d20191111Guido Falsi2019-12-081-3/+3
* Update ntopng to latest upstream snapshot.Guido Falsi2019-09-231-3/+3
* Update ntopng to latest upstream release snapshot.Guido Falsi2019-06-201-3/+3
* Upgrade ntopng to 3.8.d20190327Guido Falsi2019-03-291-3/+3
* - Update net/ndpi to 2.8.d20190301Guido Falsi2019-03-131-3/+3
* - Update ntopng to latest upstream snapshotGuido Falsi2019-01-161-3/+3
* - Update ndpi to 2.6.d20181221Guido Falsi2018-12-231-3/+3
* Update ntopng to latest upstream stable snapshot.Guido Falsi2018-09-111-3/+3
* - Update ndpi to 2.4 latest snapshotGuido Falsi2018-08-301-3/+3
* - Update net/ndpi to 2.2.2 snapshotGuido Falsi2018-06-051-3/+3
* Update nDPI and ntopng to latest upstream versions.Guido Falsi2018-03-161-3/+3
* - Update ntopng to 3.2.2018.01.12Guido Falsi2018-01-191-3/+3
* Update ntopng to newer upstream snapshot.Guido Falsi2018-01-031-3/+3
* - Update net/ndpi to 2.2 (latest snapshot)Guido Falsi2017-12-101-3/+3
* Update ntopng to newer upstream snapshot.Guido Falsi2017-11-151-3/+3
* Update net/ndpi and net/ntopng to latest upstream snapshots.Guido Falsi2017-10-051-3/+3
* - Update to newer upstream snapshotGuido Falsi2017-08-221-3/+3
* Update net/ntopng to a newer stable snapshot which includes someGuido Falsi2017-06-061-3/+3
* - Update net/ndpi to new 2.0 branchGuido Falsi2017-06-051-3/+3
* - Update net/ntopng to latest upstream stable snapshotGuido Falsi2017-05-231-3/+3
* Update ntopng to 2.4.2017.01.20Guido Falsi2017-02-081-3/+3
* - Update ndpi and ntopng to head of stable branches.Guido Falsi2016-12-241-3/+3
* - Update ndpi port to a newer snapshot from github, required byGuido Falsi2016-07-021-3/+3
* Restore deleted port: net/ntopngGuido Falsi2016-05-291-0/+3
* Remove expired ports:Rene Ladan2016-03-011-2/+0
* - Update to upstream release 1.2.1Thomas Zander2014-09-151-6/+2
* - Fix distinfo: additional data files are updated now and thenSunpoet Po-Chuan Hsieh2013-12-251-8/+4