aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-seekable-substream.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-15 22:17:01 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-15 22:17:01 +0800
commita020ef5168bdc283afdf156356075e7fa969c923 (patch)
treee270735c9eee8ed17a215d908fa4d37b1ff1c169 /camel/camel-seekable-substream.h
parent8d959d83b20c4e4756bdadb1d379bd79495ee700 (diff)
downloadgsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.gz
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.zst
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.zip
include gmime-base64.h various compilation and runtime fixes.
2000-02-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c: include gmime-base64.h various compilation and runtime fixes. (_set_input_stream): store the input substream for the content object. * camel/camel-data-wrapper.h: declare the set/get function on input/output stream. * camel/camel-mime-part.c (_get_content_object): don't use a temporary mem stream. * camel/camel-seekable-substream.c (_seek): (_eos): (_read): the substream can be unlimited in length * camel/camel-data-wrapper.c (camel_data_wrapper_class_init): set the get/set_input/output_stream methods. * camel/camel-multipart.c (_construct_from_stream): camel_stream_seek -> camel_seekable_stream_seek work on the new parser scheme. temporary sync to laptop. svn path=/trunk/; revision=1781
Diffstat (limited to 'camel/camel-seekable-substream.h')
-rw-r--r--camel/camel-seekable-substream.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/camel/camel-seekable-substream.h b/camel/camel-seekable-substream.h
index f7ef19d353..93c4bf7d97 100644
--- a/camel/camel-seekable-substream.h
+++ b/camel/camel-seekable-substream.h
@@ -56,7 +56,7 @@ typedef struct
CamelSeekableStream *parent_stream; /* the stream this substream uses */
guint32 cur_pos; /* current postion in the stream */
guint32 inf_bound; /* first valid position */
- guint32 sup_bound; /* first invalid position */
+ gint64 sup_bound; /* first invalid position */
gboolean open;
} CamelSeekableSubstream;
@@ -70,7 +70,7 @@ typedef struct {
void (*init_with_seekable_stream_and_bounds) (CamelSeekableSubstream *seekable_substream,
CamelSeekableStream *parent_stream,
guint32 inf_bound,
- guint32 sup_bound);
+ gint64 sup_bound);
} CamelSeekableSubstreamClass;
@@ -81,11 +81,12 @@ GtkType camel_seekable_substream_get_type (void);
/* public methods */
-void
-camel_seekable_substream_init_with_seekable_stream_and_bounds (CamelSeekableSubstream *seekable_substream,
- CamelSeekableStream *parent_stream,
- guint32 inf_bound,
- guint32 sup_bound);
+
+/* obtain a new seekable substream */
+CamelSeekableSubstream *
+camel_seekable_substream_new_with_seekable_stream_and_bounds (CamelSeekableStream *parent_stream,
+ guint32 inf_bound,
+ gint64 sup_bound);
#ifdef __cplusplus
}
ports-gnome/commit/converters?id=152c51cadccf91b3de7d6d742fb1fc2b5061dbac'>Mark wkhtmltopdf as broken for clang >= 6.0 until fixedMartin Matuska2018-02-241-1/+9 * Reset vg@'s ports after he resigned.Rene Ladan2018-02-243-3/+3 * Update to 2.97Sunpoet Po-Chuan Hsieh2018-02-212-4/+4 * Reduce dependency on the python2 metaportAntoine Brodin2018-02-191-2/+2 * BROKEN_SSL: Add REASON for breakageBernard Spil2018-02-171-0/+1 * security/openssl-devel: Mark broken cat c*Bernard Spil2018-02-161-0/+1 * converters/dumpasn1: unbreak, update distinfoKurt Jaeger2018-02-122-7/+6 * Update to 2.96Sunpoet Po-Chuan Hsieh2018-02-112-4/+4 * Unbreak bulk -aAntoine Brodin2018-02-111-1/+1 * converters/py-zfec: Update to 1.5.2Yuri Victorovich2018-02-113-19/+14 * Switch C compiler used to compile GHC to base Clang.Tobias C. Berner2018-02-106-2/+6 * Canonicalize PyPi WWWs:Dmitry Marakasov2018-02-093-3/+3 * Update to 2.95Sunpoet Po-Chuan Hsieh2018-02-082-4/+4 * Note PHP ports that do not build with 7.2.Mathieu Arnold2018-02-081-1/+1 * Update to 4.01Sunpoet Po-Chuan Hsieh2018-02-042-4/+4 * Update to 4.00Sunpoet Po-Chuan Hsieh2018-02-033-4/+6 * Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.Kirill Ponomarev2018-02-011-1/+1 * Add LICENSESunpoet Po-Chuan Hsieh2018-01-293-21/+8 * Update to 1.003010Sunpoet Po-Chuan Hsieh2018-01-282-4/+4 * Update p5-Sereal to 4.005Adam Weinberger2018-01-246-12/+12 * devel/boost-*: update to 1.66.0Jan Beich2018-01-182-0/+2 * New port: converters/osm2pgrouting: Import OSM data into pgRouting databaseYuri Victorovich2018-01-168-0/+120 * Update to 2.97001Sunpoet Po-Chuan Hsieh2018-01-132-4/+5 * Return kevlo's ports to the pool, he handed in his commit bit.Rene Ladan2018-01-121-1/+1 * Update to 2.94Sunpoet Po-Chuan Hsieh2018-01-102-4/+4 * Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.Kirill Ponomarev2018-01-081-1/+1 * - Unsilence installation commandsDmitry Marakasov2017-12-274-13/+13 * - Add mutual runtime conflicts between hs-dataenc and hs-sandiDmitry Marakasov2017-12-252-0/+4 * Update to 2.97001Sunpoet Po-Chuan Hsieh2017-12-252-5/+5 * Update to 2.0.0Antoine Brodin2017-12-242-5/+4 * - Switch to USES=tarDmitry Marakasov2017-12-231-5/+7 * - Add LICENSEDmitry Marakasov2017-12-181-2/+9 * - Add LICENSEDmitry Marakasov2017-12-171-3/+5 * Update to 2.2.1Sunpoet Po-Chuan Hsieh2017-12-162-4/+4 * - Fix WWWDmitry Marakasov2017-12-151-1/+1 * Update to 2.2.3Sunpoet Po-Chuan Hsieh2017-12-152-5/+5 * Update to 2.2.0Sunpoet Po-Chuan Hsieh2017-12-152-4/+4 * Add missing IGNORE_WITH_PHP for various pecl-ports.Torsten Zuehlsdorff2017-12-141-1/+1 * Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.Kirill Ponomarev2017-12-111-1/+1 * Update to 2.97000Sunpoet Po-Chuan Hsieh2017-12-112-5/+4 * Convert Python ports to FLAVORS.Mathieu Arnold2017-11-304-8/+6 * For ports that are marked BROKEN on armv6, and also fail to build onMark Linimon2017-11-301-0/+1 * - Fix WWW:Dmitry Marakasov2017-11-231-1/+1 * converters/bibtexconv: Update to 1.1.11 [1]Danilo G. Baio2017-11-183-11/+14 * Add PHP 7.2 RC6Torsten Zuehlsdorff2017-11-165-0/+81 * Chase upgrade of lang/sbclJoseph Mingrone2017-11-151-1/+1 * Update to 0.58Sunpoet Po-Chuan Hsieh2017-11-142-4/+4 * Update to 4.004Adam Weinberger2017-11-136-12/+14 * Update to 0.57Sunpoet Po-Chuan Hsieh2017-11-132-4/+4 * Update to 2.0.5Sunpoet Po-Chuan Hsieh2017-11-062-4/+4 * Update to 5.6.32 release.Alex Dupre2017-11-011-2/+0 * Cleanup dead master_sitesBaptiste Daroussin2017-10-133-6/+3 * Mark as broken ports with invalid checksum or no public distfilesBaptiste Daroussin2017-10-132-0/+3 * - Update to 0.94.0Dmitry Marakasov2017-10-094-31/+5 * - Mark architecture neutralAntoine Brodin2017-10-081-0/+6 * Update py-bencode 1.0 to py-bencode.py 1.2.0, this is a fork that worksAntoine Brodin2017-10-085-7/+10 * Update to 2.93Sunpoet Po-Chuan Hsieh2017-10-072-4/+4 * Update to 2.1.7Sunpoet Po-Chuan Hsieh2017-10-062-4/+4 * - Update MASTER_SITES for my portsAlex Kozlov2017-10-051-1/+1 * converters/p5-Bencode: Update to 1.500Mark Felder2017-09-292-5/+5 * Update to 2.1.6Sunpoet Po-Chuan Hsieh2017-09-282-6/+7 * Update to 2.0.4Sunpoet Po-Chuan Hsieh2017-09-272-4/+4 * Update to 2.0.3Sunpoet Po-Chuan Hsieh2017-09-262-4/+4 * Define ICONV_GET_ILSEQ_INVALID and ICONV_SET_ILSEQ_INVALID when mimickingTijl Coosemans2017-09-262-4/+10 * Update to 2.0.2Sunpoet Po-Chuan Hsieh2017-09-252-4/+4 * devel/boost-*: update to 1.65.1Jan Beich2017-09-251-1/+1 * devel/boost-*: enable C++11 featuresJan Beich2017-09-251-1/+1 * Update LICENSESunpoet Po-Chuan Hsieh2017-09-251-1/+2 * New ports, converters/rubygem-json-ld-preloaded andJoseph Mingrone2017-09-167-0/+64 * Fix license information for portgs that use "the same license as Perl".Mathieu Arnold2017-09-1530-30/+30 * Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2017-09-111-1/+1 * Bump PORTREVISION on *-sbcl ports after lang/sbcl upgradeJoseph Mingrone2017-09-071-1/+1 * Update to 3.0239Sunpoet Po-Chuan Hsieh2017-08-302-4/+4 * Update to 3.0238Sunpoet Po-Chuan Hsieh2017-08-272-4/+4 * Bump PORTREVISION after recent poppler updateSteve Wills2017-08-241-1/+1 * Update to 3.04Sunpoet Po-Chuan Hsieh2017-08-182-4/+4 * - Update The Glorious Glasgow Haskell Compiler to version 8.0.2Tobias C. Berner2017-08-0914-19/+66 * - Pass maintainership to me. marino@ is not part of FreeBSD committersJose Alonso Cardenas Marquez2017-08-041-1/+0 * Update PHP 7.1 from 7.1.7 to 7.1.8Torsten Zuehlsdorff2017-08-031-2/+0 * Update PHP 7 from 7.0.21 to 7.0.22Torsten Zuehlsdorff2017-08-031-2/+0 * lang/php56: Change from oniguruma5 to oniguruma6Torsten Zuehlsdorff2017-08-021-0/+2 * Update to 3.0237Sunpoet Po-Chuan Hsieh2017-07-302-4/+4 * Update to 3.0236Sunpoet Po-Chuan Hsieh2017-07-282-4/+4 * Update to 2.92Sunpoet Po-Chuan Hsieh2017-07-192-4/+4 * - Update MASTER_SITESCarlos J. Puga Medina2017-07-162-12/+12 * Simplify post-patch:Sunpoet Po-Chuan Hsieh2017-07-161-10/+3 * Update modifier: use :S instead of :CSunpoet Po-Chuan Hsieh2017-07-161-1/+1 * New port: converters/rubygem-xdrAntoine Brodin2017-07-144-0/+31 * PHP 7.0 and 7.1: switch to devel/oniguruma6Torsten Zuehlsdorff2017-07-102-0/+4 * Update to 2.03Sunpoet Po-Chuan Hsieh2017-07-072-4/+5 * - Update to 0.04.21Wen Heping2017-07-022-4/+4 * Remove Perl core modulesSunpoet Po-Chuan Hsieh2017-06-301-3/+1 * - Update to 2.94Sunpoet Po-Chuan Hsieh2017-06-282-3/+5 * Fix WWWSunpoet Po-Chuan Hsieh2017-06-251-1/+1 * Fix WWWSunpoet Po-Chuan Hsieh2017-06-251-1/+1 * Update to 2.91Sunpoet Po-Chuan Hsieh2017-06-242-4/+4 * qa: add check for NO_ARCHDavid Naylor2017-06-192-2/+4 * Update to 0.30Sunpoet Po-Chuan Hsieh2017-06-142-4/+4 * New port: rubygem-url_safe_base64Torsten Zuehlsdorff2017-06-124-0/+26 * Update distinfo and unbreak this portSunpoet Po-Chuan Hsieh2017-06-111-2/+3 * Update to 2.90Sunpoet Po-Chuan Hsieh2017-06-112-4/+4 * converters/p5-URI-UTF8-Punycode: Update version 1.00=>1.05Muhammad Moinur Rahman2017-06-063-4/+9 * - Update to 1.5TAKATSU Tomonari2017-06-062-4/+4 * Remove outdated PERL_LEVEL checkSunpoet Po-Chuan Hsieh2017-06-021-8/+1 * Remove outdated PERL_LEVEL checkSunpoet Po-Chuan Hsieh2017-06-022-13/+1 * Add LICENSESunpoet Po-Chuan Hsieh2017-06-011-0/+3 * Update WWWSunpoet Po-Chuan Hsieh2017-05-301-1/+1 * Add rubygem-po_to_json 1.0.1Sunpoet Po-Chuan Hsieh2017-05-304-0/+31 * Mark some ports failing on power64. In cases where the error messageMark Linimon2017-05-221-0/+2 * converters/p5-MIME-Base32: Update version 1.301=>1.303Muhammad Moinur Rahman2017-05-202-3/+4 * Update to 1.0.5Sunpoet Po-Chuan Hsieh2017-05-192-5/+9 * - Update maintainer addressJochen Neumeister2017-05-161-1/+1 * Update to 3.0233Sunpoet Po-Chuan Hsieh2017-05-042-4/+4 * - Update to 1.4TAKATSU Tomonari2017-05-042-4/+4 * - Update devel/libical to version 2.0Pawel Pekala2017-05-041-1/+7 * devel/boost-*: update to 1.64.0Jan Beich2017-05-021-0/+1 * - Fix shebangsMartin Wilke2017-04-221-1/+3 * Update to 2.89Sunpoet Po-Chuan Hsieh2017-04-222-4/+4 * - Update to 0.92.1Dmitry Marakasov2017-04-204-8/+8 * Convert all PECL ports to USES=php:pecl.Mathieu Arnold2017-04-102-9/+2 * Update to 11.5Sunpoet Po-Chuan Hsieh2017-04-074-30/+58 * - Update WWWDmitry Marakasov2017-04-062-2/+2 * Bump PORTREVISIONs for ports depending on the canonical version of GCC andGerald Pfeifer2017-04-011-1/+1 * Update to 3.0231Sunpoet Po-Chuan Hsieh2017-03-302-4/+4 * - Update converters/ytnef to version 1.9.2, now hosted on GitHubPawel Pekala2017-03-305-41/+31 * Update to 0.12.4Michael Gmelin2017-03-274-9/+143 * Update to 0.29Sunpoet Po-Chuan Hsieh2017-03-252-3/+4 * - Fix LICENSEDmitry Marakasov2017-03-222-2/+3 * Fix typoSunpoet Po-Chuan Hsieh2017-03-151-1/+1 * Update to 3.0230Sunpoet Po-Chuan Hsieh2017-03-132-4/+4 * Update to 3.0229Sunpoet Po-Chuan Hsieh2017-03-112-4/+4 * Update to 3.0228Sunpoet Po-Chuan Hsieh2017-03-102-4/+4 * converters/p5-Encode-Punycode: Update version 1.001=>1.002Muhammad Moinur Rahman2017-03-052-4/+7 * - Update to 0.04.20Wen Heping2017-03-032-4/+6 * Update to 1.003009Sunpoet Po-Chuan Hsieh2017-02-282-4/+4 * Update to 3.0227Sunpoet Po-Chuan Hsieh2017-02-142-4/+4 * Update to 3.0226Sunpoet Po-Chuan Hsieh2017-02-122-4/+4 * - Update to 0.92.0 and unbreak by switching geos dependency to graphics/geos35Dmitry Marakasov2017-02-074-25/+37 * Mark ports not building with PHP 7.1.Mathieu Arnold2017-02-072-2/+2 * Update to 1.30Sunpoet Po-Chuan Hsieh2017-02-033-4/+85 * Fix r433199Sunpoet Po-Chuan Hsieh2017-02-031-4/+4 * Add LICENSESunpoet Po-Chuan Hsieh2017-02-031-0/+4 * converters/iconv-extra: unbreak on 12.0 after base r306297Jan Beich2017-02-021-0/+15 * converters/iconv: unbreak on 12.0 after base r306297Jan Beich2017-02-021-0/+23 * converters/fix-mime-charset: unbreak with libc++ 3.9Jan Beich2017-02-021-0/+9 * Update to 1.3.4Sunpoet Po-Chuan Hsieh2017-02-023-4/+6 * Remove expired ports:Rene Ladan2017-01-284-39/+0 * Connect PHP 7.1 ports (r432324)Torsten Zuehlsdorff2017-01-241-0/+3 * Add PHP 7.1Torsten Zuehlsdorff2017-01-244-0/+78 * Update default GEM_NAMESunpoet Po-Chuan Hsieh2017-01-221-1/+0 * converters/wkhtmltopdf: unbreak with clang 4.0 (same as r431742)Jan Beich2017-01-211-0/+21 * Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/Sunpoet Po-Chuan Hsieh2017-01-211-1/+1 * Update WWW: remove trailing /Sunpoet Po-Chuan Hsieh2017-01-201-1/+1 * - Add NO_ARCHDmitry Marakasov2017-01-121-1/+2 * Fix *_DEPENDS: remove Perl core modulesSunpoet Po-Chuan Hsieh2017-01-111-2/+3 * Update WWWEmanuel Haupt2017-01-081-1/+1 * Chase update of graphics/poppler (and slaves ports) in revision r430777Olivier Duchateau2017-01-071-1/+1 * devel/boost-*: update to 1.63.0Jan Beich2017-01-061-1/+1 * Update to 1.0.Vanilla I. Shu2017-01-062-4/+4 * - Update to 1.2TAKATSU Tomonari2016-12-312-4/+4 * converters/ruby-dump.rb: deprecateSteve Wills2016-12-281-0/+3 * Add an EXPIRATION_DATE to DEPRECATED ports without one.Mathieu Arnold2016-12-261-0/+1 * Revert r428451 and unbreakAntoine Brodin2016-12-241-0/+1 * - Update to 2.0.1Sunpoet Po-Chuan Hsieh2016-12-222-5/+4 * - Update WWW: pear.php.net uses https://Sunpoet Po-Chuan Hsieh2016-12-131-1/+1 * - Update WWW: pecl.php.net uses https://Sunpoet Po-Chuan Hsieh2016-12-132-2/+2 * - Remove unnecessary GEM_NAMESunpoet Po-Chuan Hsieh2016-12-131-4/+1 * - Add LICENSESunpoet Po-Chuan Hsieh2016-12-091-0/+3 * Remove expired ports:Rene Ladan2016-12-094-40/+0 * Remove libintl.so.9 compatibility link that was added in r374303 toTijl Coosemans2016-12-092-1/+2 * Remove libiconv.so.3 compatibility link that was added in r374303 toTijl Coosemans2016-12-096-7/+5 * Remove libexpat.so.6 compatibility link that was added in r374303 toTijl Coosemans2016-12-091-1/+1 * Remove libcurl.so.7 compatibility link that was added in r374303 toTijl Coosemans2016-12-091-0/+1 * http://github.com redirects to https://github.com, spare everyone a redirect.Mathieu Arnold2016-12-023-3/+3 * Mark broken.Mathieu Arnold2016-12-011-0/+2 * Don't quote {} in find -exec calls.Mathieu Arnold2016-12-011-1/+1 * - Update to 2.88Sunpoet Po-Chuan Hsieh2016-12-012-5/+5 * Fetch a distfile directly from GitHubAkinori MUSHA2016-11-272-7/+8 * - Fix installation of igbinary.h and php_igbinary.hSunpoet Po-Chuan Hsieh2016-11-261-1/+13 * - Update to 3.0225Sunpoet Po-Chuan Hsieh2016-11-252-4/+4 * devel/boost-*: update to 1.62.0Jan Beich2016-11-231-1/+1 * In several dozen ports, use single space for WWW: line in pkg-descr, andAlexey Dokuchaev2016-11-221-3/+3 * - Upgrade to 0.08.Jun Kuriyama2016-11-223-3/+7 * - Update to 2.0.0Sunpoet Po-Chuan Hsieh2016-11-212-5/+4 * - Update to 3.0224Sunpoet Po-Chuan Hsieh2016-11-212-4/+4 * - Update to 3.03Sunpoet Po-Chuan Hsieh2016-11-202-3/+4 * - Update to 3.0223Sunpoet Po-Chuan Hsieh2016-11-202-4/+4 * converters/py-bcode: Fix python dependencyMark Felder2016-11-161-1/+2 * Mark as broken on various tier-2 archs.Mark Linimon2016-11-141-2/+5 * Chase print/py-reportlab2 expirationAntoine Brodin2016-11-091-0/+3 * - Update to 1.003008Sunpoet Po-Chuan Hsieh2016-11-072-4/+13 * - Update to 2.87Sunpoet Po-Chuan Hsieh2016-11-072-3/+4 * - Update to 3.0222Sunpoet Po-Chuan Hsieh2016-11-072-4/+4 * OSVERSION needs the pre/post.mk dance.Mark Linimon2016-11-041-1/+3 * Pass maintainership of PEAR ports to the submitterJan Beich2016-11-031-1/+1 * Cleanup no longer needed CHMOD usage after r424898.Mathieu Arnold2016-11-032-7/+3 * Another bencode implementation.Mark Felder2016-10-274-0/+25 * ${RM} already has -f.Mathieu Arnold2016-10-211-1/+1 * Remove expired PHP5.5 ports.Rene Ladan2016-10-214-84/+0 * Unlink expired PHP5.5 ports.Rene Ladan2016-10-211-3/+0 * Update to 2.12.Adam Weinberger2016-10-092-3/+4 * - Update to 2.0Dmitry Marakasov2016-10-063-6/+8 * - Update to 1.19Olivier Duchateau2016-10-052-6/+6