/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-stream-fs.h :stream based on unix filesystem */ /* * Author: * Bertrand Guiheneuf * * 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_FS_H #define CAMEL_STREAM_FS_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include /* for open flags */ #include #include #include #define CAMEL_STREAM_FS_TYPE (camel_stream_fs_get_type ()) #define CAMEL_STREAM_FS(obj) (CAMEL_CHECK_CAST((obj), CAMEL_STREAM_FS_TYPE, CamelStreamFs)) #define CAMEL_STREAM_FS_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_STREAM_FS_TYPE, CamelStreamFsClass)) #define CAMEL_IS_STREAM_FS(o) (CAMEL_CHECK_TYPE((o), CAMEL_STREAM_FS_TYPE)) struct _CamelStreamFs { CamelSeekableStream parent_object; int fd; /* file descriptor on the underlying file */ }; typedef struct { CamelSeekableStreamClass parent_class; } CamelStreamFsClass; /* Standard Camel function */ CamelType camel_stream_fs_get_type (void); /* public methods */ CamelStream * camel_stream_fs_new_with_name (const char *name, int flags, mode_t mode); CamelStream * camel_stream_fs_new_with_name_and_bounds (const char *name, int flags, mode_t mode, off_t start, off_t end); CamelStream * camel_stream_fs_new_with_fd (int fd); CamelStream * camel_stream_fs_new_with_fd_and_bounds (int fd, off_t start, off_t end); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_STREAM_FS_H */ /cgit/cgit.cgi/freebsd-ports-graphics/tree/sysutils/backuppc?h=master&id=91d7ad3ad5c7714f62ba87867a2e13d4732ae91e'>treecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Do not abuse INSTALL_MAN when installing documentation, examples, anddanfe2018-01-111-1/+1
* sysutils/backuppc[-devel]: Update WWWdbaio2018-01-101-1/+1
* Change default version of samba from 4.4 to 4.6antoine2017-12-231-1/+1
* sysutils/backuppc, sysutils/backuppc4: Add GitHub to MASTER_SITESdbaio2017-06-061-1/+2
* Remove outdated PERL_LEVEL checksunpoet2017-06-061-8/+4
* Switch default version of samba from 4.3 to 4.4antoine2017-03-261-1/+1
* - Add USES=samba to handle dependency on sambaantoine2017-03-221-6/+5
* - Update sysutils/backuppc to 3.3.2krion2017-02-079-116/+25
* - add www/p5-CGI dependency (CGI was removed in Perl 5.22)matthew2016-12-242-2/+28
* sysutils/backuppc: add a workaround for users of Samba 4.rene2016-06-224-4/+57
* sysutils/backuppc: fix fatal error with perl-5.22pi2016-05-242-1/+12
* Update databases/rrdtool to 1.6.0zeising2016-05-031-0/+1
* Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.mat2016-04-011-8/+8
* - Add CPE infoamdmi32015-04-232-3/+3
* - Update to 3.3.1amdmi32015-01-255-35/+12
* change command_interpreter from /usr/bin/perl to ${PREFIX}/bin/perlmarino2015-01-052-2/+2
* sysutils/backuppc: Update pkg-descr and COMMENTpi2014-10-252-4/+18
* sysutils/backuppc: copy required html file to WWWDIRwg2014-08-313-7/+15
* sysutils/backuppc: revert a couple of changeswg2014-08-292-4/+10
* sysutils/backuppc: add missing patches in last updatewg2014-08-262-0/+246
* sysutils/backuppc: do not overwrite config fileswg2014-08-264-56/+35
* sysutils/backuppc: Don't build package until config file overwrite is solvedmarino2014-08-131-1/+3
* sysutils/backuppc: Fix DOCSDIR modepi2014-07-172-2/+2
* Cleanup sysutils/backuppc pkg-plistmilki2014-07-152-11/+5