/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-stream-mem.h: stream based on memory buffer */ /* * Authors: Bertrand Guiheneuf * Michael Zucchi * * Copyright 1999, 2000 Helix Code, Inc. (http://www.helixcode.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef CAMEL_STREAM_MEM_H #define CAMEL_STREAM_MEM_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #include #define CAMEL_STREAM_MEM_TYPE (camel_stream_mem_get_type ()) #define CAMEL_STREAM_MEM(obj) (CAMEL_CHECK_CAST((obj), CAMEL_STREAM_MEM_TYPE, CamelStreamMem)) #define CAMEL_STREAM_MEM_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_STREAM_MEM_TYPE, CamelStreamMemClass)) #define CAMEL_IS_STREAM_MEM(o) (CAMEL_CHECK_TYPE((o), CAMEL_STREAM_MEM_TYPE)) typedef struct _CamelStreamMemClass CamelStreamMemClass; struct _CamelStreamMem { CamelSeekableStream parent_object; gboolean owner; /* do we own the buffer? */ GByteArray *buffer; }; struct _CamelStreamMemClass { CamelSeekableStreamClass parent_class; /* Virtual methods */ }; /* Standard Camel function */ CamelType camel_stream_mem_get_type (void); /* public methods */ CamelStream *camel_stream_mem_new(void); CamelStream *camel_stream_mem_new_with_byte_array(GByteArray *buffer); CamelStream *camel_stream_mem_new_with_buffer(const char *buffer, size_t len); /* these are really only here for implementing classes */ void camel_stream_mem_set_byte_array(CamelStreamMem *, GByteArray *buffer); void camel_stream_mem_set_buffer(CamelStreamMem *, const char *buffer, size_t len); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_STREAM_MEM_H */ vel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Split the etc/fonts/conf.d/2.ipa-ttfonts.conf file intohrs2007-03-2615-75/+87
* Update to 4.2.3lofi2007-03-252-4/+4
* BROKEN: Incomplete pkg-plistkris2007-03-251-0/+2
* BROKEN: Does not compilekris2007-03-251-0/+2
* - WWWOWN and WWWGRP are defined in bsd.port.mkpav2007-03-251-2/+0
* - Fix after objformat removalpav2007-03-241-1/+4
* - Move timidity++ interface glues from audio/timidity++-emacs intorafan2007-03-233-23/+26
* - Update to 20070317pav2007-03-238-12/+12
* Chase the gucharmap shared lib version.marcus2007-03-221-2/+2
* - Fix one more occurrence of the moved dependencygabor2007-03-181-1/+1
* - Follow moved dependencygabor2007-03-181-1/+2
* - New version 0.95 is released.clsung2007-03-162-4/+4
* Updating to more recent dictionaries.lx2007-03-152-15/+15
* - Update to 0.95clsung2007-03-152-4/+4
* Reset ys@pixygarden.net due to maintainer-timeouts and no response to email.linimon2007-03-142-2/+2
* - Update to 0.95clsung2007-03-142-4/+4
* Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-1410-16/+18
* Update to 1.3.1.nobutaka2007-03-114-4/+5
* Add CONFLICTS=nmh-[0-9]*motoyuki2007-03-101-0/+2
* - Merge conditional PostgreSQL/Subversion dependency from www/trac.kuriyama2007-03-102-6/+212
* Remove expired ports:gabor2007-03-1016-338/+0
* - Fix to indicate to use ja_JP.eucJP instead of ancient ja_JP.EUC.kuriyama2007-03-083-1/+23
* - Use utf-8 as default charset again.kuriyama2007-03-063-4/+24
* Update to 8700b.nobutaka2007-03-042-5/+5
* - Upgrade to 0.10.3-ja-1 [1].kuriyama2007-03-048-93/+123
* Fix build after objformat removal.nobutaka2007-03-041-0/+5
* Update to 8700.nobutaka2007-03-042-5/+5
* Change MASTER SITE.nork2007-03-032-2/+2
* Correct pkg-plist.nobutaka2007-03-032-2/+2
* - Add devel/libslang2-devel, 2.1-PRE development version.garga2007-03-031-1/+1
* - Update to 0.94clsung2007-03-012-11/+7
* - Bump PORTREVISION to follow dictionary format change in MeCab 0.94.clsung2007-03-012-6/+5
* BROKEN: Incomplete pkg-plistkris2007-02-271-0/+2
* BROKEN: Unfetchablekris2007-02-271-0/+2
* Reset kanou@khdd.net due to maintainer timeouts and no response to earlierlinimon2007-02-273-3/+3
* - author change version line (or say fix), from "0.94pre3" to "0.94"clsung2007-02-261-3/+3
* - New version 0.94 is released.clsung2007-02-253-10/+8
* - New version 0.94 is released.clsung2007-02-254-12/+11
* Make FORBIDDEN since it is an old firefox version with many securitysimon2007-02-251-0/+1
* Update dictionary files as of Feb/02/2007.matusita2007-02-212-10/+10
* - Utilize new features of master portrafan2007-02-211-7/+5
* - Currently, MAKE_ARGS is assigned by = which can not be overwritten by slaverafan2007-02-212-14/+20
* - Move doc-install above .include <bsd.port.post.mk>rafan2007-02-201-2/+2
* Updating with new master site and author info.lx2007-02-192-3/+3
* - Deprecategabor2007-02-192-0/+6
* Mr. Lou Ohshiba is a Japanese comedian.gabor2007-02-185-0/+45
* - Upgrade Japanese patch to 3.0.24.kuriyama2007-02-152-7/+8
* - Upgrade to 0.0.3 to support PHP 5.2 and unbreak.kuriyama2007-02-132-8/+4
* Depends on expiring ja-gnomelibs port; deprecate and expire in a monthkris2007-02-131-0/+3
* This port only exists to support ja-gnomelibs which is expiring in a month.kris2007-02-131-0/+3
* Fix build after objformat removal.nobutaka2007-02-121-0/+3
* Add dependency on japanese/anthy to fix build error.nobutaka2007-02-111-0/+2
* This port is broken on all supported versions of FreeBSD, so schedule forkris2007-02-111-0/+3
* Schedule these broken ports for removal on 2007-04-10 if they are stillkris2007-02-115-0/+10
* Update to 0.15erwin2007-02-102-4/+4
* Use libtool15 port instead of included version to avoid objformat a.out botchkris2007-02-103-0/+3
* - Update to 20070131 version.kuriyama2007-02-092-7/+7
* Use local copy of distfiles since master site is obsolete.yoichi2007-02-091-6/+5
* Follow the change of directory in mirror sites.yoichi2007-02-071-2/+2
* From the "who gave this guy a commit bit" dept.:lofi2007-02-061-1/+0
* Add qt4, a multiplatform C++ application frameworklofi2007-02-065-0/+92
* - Depend on perl at build-timesat2007-02-051-0/+1
* Add port japanese/japana:sat2007-02-044-0/+41
* - Update to 2.0.4sat2007-02-045-32/+11
* Update to 2.2.nobutaka2007-02-046-112/+12
* Update to 1.4.1anray2007-02-024-10/+8
* Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-014-0/+4
* - add category gnustepdinoex2007-02-011-1/+1
* Seaside is a framework for developing sophisticated web applicationsmiwi2007-01-306-0/+59
* - Remove support for a.out format and PORTOBJFORMAT variable from individualpav2007-01-3018-153/+93
* Retire obsolete a.out shared library supportkris2007-01-302-2/+2
* Remove vestigial a.out supportkris2007-01-301-1/+1
* BROKEN: Incorrect pkg-plistkris2007-01-301-0/+2
* - Chase increase of devel/libpasori shlib version.miwi2007-01-281-1/+2
* - Case increase of devel/libpasori shlib version.miwi2007-01-281-1/+2
* - Remove a.out supportpav2007-01-284-42/+22
* - Prepare for removal of shlib filtering. While here, remove manual invocatio...pav2007-01-282-4/+2
* - Register CONFLICTS with textproc/latex2html [1]gabor2007-01-261-3/+6
* Fix extract error.nork2007-01-252-2/+2
* Add USE_XLIB to fix dependencies after removal of USE_X_PREFIX.lx2007-01-251-0/+1
* Add suicavalue 2007.01.06, utility to print a statement of Suica.nork2007-01-217-0/+100
* Add edyvalue 2007.01.06, utility to print a statement of Edy card.nork2007-01-217-0/+104
* Try to fix build on sparc64 by disabling Unihan support.ume2007-01-201-2/+13
* Update to 7.0.9. Various security vulnerabilities have been fixed.hrs2007-01-182-4/+4
* Fix pkg-plist.hrs2007-01-186-108/+114
* Fix build by adding missing dependency to deskutils/gucharmap.ume2007-01-161-2/+3
* Stop using USE_X_PREFIX.lx2007-01-161-2/+1
* - update to use new bsd.gnustep.mkdinoex2007-01-131-4/+3
* OPTIONS'fy to support Ruby based dictionary module, Hyper Estraierume2007-01-123-12/+85
* Fix plist.ume2007-01-112-5/+1
* BROKEN: Leaves behind config file on deinstallkris2007-01-111-0/+2
* - Updated to 0.60nivit2007-01-082-4/+4
* - Fix build with X.org 7 [1]gabor2007-01-073-13/+34
* Updating to 20070106.lx2007-01-072-60/+60
* fix plist.ume2007-01-071-2/+3
* Update to 0.5.0.ume2007-01-069-30/+100
* 2006-12-01 japanese/gauche-kakasi: deinstalls file not installed by this portmiwi2007-01-067-115/+0
* Cleanup unreachable sites:hrs2007-01-042-3/+1
* Update to 1.0.20060520.hrs2007-01-0318-147/+1002
* - Fix build with gcc4.Xmiwi2006-12-274-4/+127
* In preparation to deprecate shells/bash2:bsam2006-12-231-1/+2
* - Update maintainer mail adressemiwi2006-12-221-2/+3
* - Update to 20061130 version.kuriyama2006-12-212-7/+7
* Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-208-14/+16
* Update to 0.4.0.ume2006-12-1712-132/+106
* Fix build error.nobutaka2006-12-143-19/+7
* - Respect X11BASErafan2006-12-111-1/+1
* - Chase net/samba3 upgrade (3.0.23d).kuriyama2006-12-102-7/+7
* - Updated email address in my portsnivit2006-12-103-3/+3
* - maintainer lost his motivationclsung2006-12-072-2/+2
* - Respect X11BASErafan2006-12-032-0/+12
* - Update to 0.5.7lx2006-12-035-21/+49
* Respect X11BASEkris2006-12-031-1/+3
* - Update to 2.0.3miwi2006-12-031-4/+8
* - Take maintainershippav2006-12-031-1/+1
* - Chase japanese/eb updatepav2006-12-035-9/+10
* - Update to 4.3pav2006-12-033-13/+6
* - Add mirror sitelx2006-12-012-21/+30
* Move unzip to EXTRACT_DEPENDS rather than BUILD_DEPENDS.lx2006-12-011-1/+1
* - Respect X11BASEmiwi2006-11-284-8/+33
* - Update to 20061125miwi2006-11-284-96/+103
* - Update to 2.19.9pav2006-11-252-5/+5
* Reset undeliverable maintainer address:kris2006-11-242-2/+2
* - Update to 2.13- Update to 2.13miwi2006-11-232-4/+4
* Update to 8322.nobutaka2006-11-232-5/+5
* Update to 1.2.2.ume2006-11-222-6/+6
* Update master site.ehaupt2006-11-211-1/+1
* BROKEN: DOes not compilekris2006-11-171-0/+2
* BROKEN: Incomplete pkg-plistkris2006-11-171-0/+2
* Free Japanese TrueType fonts named 'VLGothic'.alepulver2006-11-0411-0/+179
* Update to 2.06.nork2006-11-022-4/+4
* - Some programs needed to build latex2html are listed in "RUN_DEPENDS".clsung2006-11-021-6/+2
* Jishyo is an English -> Japanese dictionary. Currently it only supportsdinoex2006-11-015-0/+63
* - Update to 0.4.4 [1]miwi2006-10-314-18/+12
* - Update to 104454miwi2006-10-313-278/+278
* Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-14