aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-file-utils.h
blob: 4138b8b7dfad0b9e20d9455a7418cfcc9d3de3e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/* 
 * Authors:
 *   Michael Zucchi <notzed@ximian.com>
 *   Dan Winship <danw@ximian.com>
 *
 * Copyright (C) 2000, 2001 Ximian, Inc.
 *
 * 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_FILE_UTILS_H
#define CAMEL_FILE_UTILS_H 1

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus }*/

#include <glib.h>
#include <stdio.h>
#include <sys/types.h>
#include <time.h>

int camel_file_util_encode_fixed_int32 (FILE *out, gint32);
int camel_file_util_decode_fixed_int32 (FILE *in, gint32 *);
int camel_file_util_encode_uint32 (FILE *out, guint32);
int camel_file_util_decode_uint32 (FILE *in, guint32 *);
int camel_file_util_encode_time_t (FILE *out, time_t);
int camel_file_util_decode_time_t (FILE *in, time_t *);
int camel_file_util_encode_off_t (FILE *out, off_t);
int camel_file_util_decode_off_t (FILE *in, off_t *);
int camel_file_util_encode_string (FILE *out, const char *);
int camel_file_util_decode_string (FILE *in, char **);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* CAMEL_FILE_UTILS_H */
='logheader'>* Update WWW.marcus2005-10-281-1/+1 | | | | PR: 88143 * Update to 1.0.5vs2005-10-288-8/+66 | | | | | PR: ports/87735 Submitted by: Ports Fury * Permissions set by the Makefile are just wrong.edwin2005-10-272-6/+6 | | | | | | | 755 for .cgi, 664 for .xml and 644 for others would be appropriate. Submitted by: "Andrew P." <infofarmer@gmail.com> * Update to 0.35.2mnag2005-10-263-5/+13 | | | | | PR: 87980 Submitted by: Franz Klammer <klammer@webonaut.com> (maintainer) * - Don't overwrite LIB_DEPENDS and RUN_DEPENDS if options are setmarkus2005-10-261-3/+3 | | | | | | | - Bump PORTREVISION PR: ports/87489 Submitted by: Antonin Bonte <antonin.bonte@ejake.org> * - honor LDFLAGSdinoex2005-10-241-1/+2 | | | | | - make PREFIX safe Reported by: kris * Update to 2.0.3.marcus2005-10-223-4/+11 | * Update to 2.2.2.kwm2005-10-2110-83/+116 | | | | Noticed by: Edwin's New port version check * Upgrade to 2.0.3.thierry2005-10-196-9/+9 | | | | | Changelog at <http://cvs.horde.org/diff.php/nag/docs/CHANGES?r1=1.115.2.16&r2=1.115.2.20&ty=h> * Upgrade to 2.0.4.thierry2005-10-186-9/+9 | | | | | Changelog available at <http://cvs.horde.org/diff.php/kronolith/docs/CHANGES?r1=1.165.2.54&r2=1.165.2.68&ty=h> * Upgrade to 2.0.2.thierry2005-10-179-9/+30 | | | | | Changelog at <http://cvs.horde.org/diff.php/mnemo/docs/CHANGES?r1=1.63.2.4&r2=1.63.2.16&ty=h> * Update to version 7.4.3edwin2005-10-153-6/+5 | * - Update to version 2.4.4az2005-10-122-4/+3 | | | | | | PR: ports/87203 Submitted by: Andriy Gapon <avg@icyb.net.ua> (maintainer) Approved by: sem (mentor) * Upgrade to 7.4edwin2005-10-103-8/+10 | * - Update to 1.9.59garga2005-10-104-9/+99 | | | | | PR: ports/87056 Submitted by: Ports Fury * - Update to 1.0.4garga2005-10-106-6/+8 | | | | | PR: ports/87055 Submitted by: Ports Fury * - Update to 1.3novel2005-10-093-6/+16 | | | | - Add WITHOUT_NLS knob * Update to 0.4.12.novel2005-10-092-3/+3 | * Remove stale mastersite.linimon2005-10-092-4/+2 | | | | Source: distfile survey * Chase mastersite.linimon2005-10-092-2/+2 | | | | Source: distfile survey * Chase updated mastersite.linimon2005-10-092-2/+2 | * Update to 0.8.6.5.1.adamw2005-10-083-30/+29 | | | | Special thanks to: Edwin's awesometastic update check script. Hooray for Edwin! * Add MASTER_SITE_LOCAL to MASTER_SITES to fix fetch.novel2005-10-071-1/+3 | | | | Reported by: pointyhat via kris * Update to 0.3.1danfe2005-10-059-1024/+22 | | | | Triggered by: edwin's ports version checker * Upgrade to version 1.0.8edwin2005-10-052-3/+3 | | | | Noticed by: ports new version checker. * Fix bogus ui files in preparation for Qt 3.3.5lofi2005-10-049-0/+90 | * - update to 0.7.2dinoex2005-10-033-459/+235 | * - Fix plistahze2005-10-031-1/+0 | * webbrowser -> webserveredwin2005-10-021-1/+1 | * Update to 7.3edwin2005-10-022-3/+3 | * o) Fix compile problemlkoeller2005-10-023-7/+24 | * Fix bogus ui files in preparation for Qt 3.3.5lofi2005-09-291-0/+10 | * - Chase move of gtk-sharp to gtk-sharp10 and gtk-sharp-devel totmclaugh2005-09-292-4/+4 | | | | | | | | gtk-sharp20 for affected ports. - Also correct incorrect RUN_DEPENDS=${BUILD_DEPENDS} still remaining in mcatalog, bless, f-spot, and gecko-sharp10. Approved by: ahze (mentor) * LIB_DEPEND on libmfrarved2005-09-291-2/+2 | | | | | | | Bump PORTREVISION PR: 86674 Submitted by: KATO Tsuguru <tkato432@yahoo.com> * New rubrica homepagearved2005-09-291-1/+1 | | | | | PR: 86675 Submitted by: KATO Tsuguru <tkato432@yahoo.com> * Remove obsolete mastersite.linimon2005-09-281-1/+0 | | | | Source: distfile survey * - Update to 0.7.1ahze2005-09-283-3/+5 | * - update MASTER_SITESpetef2005-09-282-1/+7 | | | | | | | - add a patch to support lj tags - bump PORTREVISION Submitted by: Wesley Shields <wxs@csh.rit.edu> * Project URL changed.novel2005-09-262-4/+2 | | | | | PR: 86585 Submitted by: Andreas Kohn (maintainer) * Update to 1.5.5mnag2005-09-213-416/+443 | | | | | | PR: ports/86403 Submitted by: Antoine Brodin <antoine.brodin@laposte.net> (maintainer) Approved by: pav (mentor) * - Change maintainership of my Mono related ports over to the BSD#tmclaugh2005-09-201-1/+1 | | | | | | | project mailing list. This is the mailing list listed as the maintainer for all my other Mono related ports. Approved by: ahze (mentor) * - Fix build on FreeBSD 4.Xpav2005-09-171-0/+11 | * - Update to 1.7.0pav2005-09-178-132/+40 | | | | | PR: ports/84618 Submitted by: Gerrit Beine <tux@pinguru.net> (maintainer) * - Update WWWpav2005-09-151-1/+1 | * - Update to 3.31pav2005-09-153-3/+5 | | | | | PR: ports/86112 Submitted by: Dryice Liu <dryice@hotpop.com> (maintainer) * - cleanup old Makefile locationdinoex2005-09-141-0/+5 | * Remove obsolete mastersite.linimon2005-09-141-1/+0 | | | | Source: distfile survey * - Remove intltoolize stuff, now works with out it.ahze2005-09-141-5/+0 | * - Update to 0.7ahze2005-09-143-7/+6 | * - Attempt to fix build on pointyhat by specifying where the nautilusahze2005-09-132-1/+4 | | | | | | | extensions dir is. [1] - Add missing file to plist Reported by: krismail [1] * Correct directory removal stuff. PORTREVISION bump for pkg-plistadamw2005-09-122-3/+3 | | | | changes. * - Fix Icon on .desktop file [1]ahze2005-09-112-3/+9 | | | | | | | - Use unexec to rm directories if empty since n-a-c uses DATADIR for computer wide config. Reported by: mux via irc.freenode.org/#FreeBSD-Gnome [1] * - Update to 1.2pav2005-09-103-3/+5 | * Update to 2.0.2.kwm2005-09-103-3/+5 | * Add missing directories to pkg-plist.adamw2005-09-092-2/+5 | | | | Thanks to: kris's awesome reports * Update to 1.5.4jylefort2005-09-093-3/+15 | | | | | PR: ports/85835 Submitted by: maintainer * Update to 0.4.11.novel2005-09-084-23/+9 | * - Update to 0.6ahze2005-09-084-37/+21 | * Update to 0.8.5.12.adamw2005-09-073-10/+13 | * reset maintainer to ports@FreeBSD.org since original maintainer doesn'toliver2005-09-072-2/+2 | | | | | | have the time any longer to maintain them Approved by: maintainer * update to 4.2.2oliver2005-09-073-6/+11 | | | | | | take maintainership Approved by: maintainer * Update to 0.6.3jylefort2005-09-065-14/+18 | * Update to 1.1.1jylefort2005-09-063-3/+6 | * Update to 0.6.5.1jylefort2005-09-062-4/+3 | | | | | PR: ports/85762 Submitted by: maintainer * - Master site is dead; mirror files locallypav2005-09-061-1/+3 | | | | | Reported by: krismail Requested by: maintainer * Update to 4.5.1.novel2005-09-044-280/+9 | | | | Approved by: Mike Patterson (maintainer) * Upgrade to 7.2edwin2005-09-022-3/+3 | * - Add nautilus-actionsahze2005-09-016-0/+62 | | | | | An extension for Nautilus, the gnome file manager, which allow to configure program to be launch on files selected into Nautilus interface. * - Update to 0.2.2pav2005-09-015-5/+31 | | | | | PR: ports/85524 Submitted by: Andreas Kohn <andreas@syndrom23.de> (maintainer) * Move this port to LOCALBASE since it doesn't need to be under X11BASE, andmarcus2005-09-011-1/+2 | | | | doesn't need gnomeprefix. * - Retire some gdesklets-psi ports. They don't run on recent gdesklets versions,pav2005-09-0132-460/+0 | | | | | | | they are gone from website and their future is dimm. PR: ports/85370 Submitted by: Franz Klammer <klammer@webonaut.com> (maintainer) * Fix typo.novel2005-09-011-1/+1 | * Fix build on -CURRENT.novel2005-09-012-21/+4 | | | | | | PR: 85530 Submitted by: Ports Fury Reported by: pointyhat via kris * BROKEN on >= 5.x: Does not buildkris2005-08-311-1/+7 | * Fix fetching.marcus2005-08-291-1/+1 | | | | Submitted by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> * Update to 0.4.marcus2005-08-292-5/+4 | * Upgrade to 2.0.2.thierry2005-08-289-27/+33 | * Upgrade to 7.1.1edwin2005-08-283-268/+277 | * Upgrade to 1.3.1.kuriyama2005-08-284-4/+11 | * Chase the Gaim 1.5.0 update.marcus2005-08-281-1/+1 | * Add notification-daemon, a framework for notifying the user of applicationmarcus2005-08-285-0/+38 | | | | | | | events using passive pop-up windows. PR: 84721 Submitted by: Andreas Kohn <andreas@syndrom23.de> * Upgrade to version 0.9.16.008.olgeni2005-08-283-3/+5 | | | | | | | | | | The following security fixes are included: * Global anti-XSS changes, related to savannah bug #13863 * FUDForum Information Disclosure - CAN-2005-2600 * Disabled XMLRPC until more resources are available - CAN-2005-2498 Approved by: portmgr * Unbreak port building.vsevolod2005-08-274-406/+551 | | | | | | Update to 2.0.2. Approved by: portmgr (krion) * Mark this port as IGNOREd for the 6.0-RELEASE set. Gourmet requiresadamw2005-08-181-1/+6 | | | | | | | | | | | | | | a python-enabled metakit, but that requirement cannot be assured with the current framework. The solution, as discussed with krion, is to make metakit's python support on by default. This fix, however, won't go in until after the slush, so gourmet will not have a 6.0 package in the meantime. Also, I'm backing out krion's change, because it wasn't the right fix. The original RUN_DEPENDS library check will be the correct one once the metakit change goes in. Approved by: portmgr (krion) * Upgrade to 1.0.0.009 (including security fixes).kuriyama2005-08-172-6/+4 | | | | Approved by: portmgr (marcus) * Mark FORBIDDEN, due to remote code execution vulnerability.simon2005-08-171-0/+2 | | | | | Security: http://vuxml.FreeBSD.org/e65ad1bf-0d8b-11da-90d0-00304823c0d3.html Approved by: portmgr (blanket, secteam) * Fix dependencies and build.krion2005-08-161-1/+2 | | | | Approved by: portmgr (implicit) * Add patch in order to fix the build on ia64, alpha and sparc64markus2005-08-132-0/+22 | | | | | Submitted by: pointyhat via kris Approved by: portmgr (linimon) * Fix KDE Bug 109003 (KMail saves zero-size attachments).lofi2005-08-026-0/+60 | | | | | Obtained from: KDE SVN Approved by: portmgr (marcus) * Remove patches which have been applied upstream.lofi2005-08-013-453/+0 | * Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-017-8/+14 | * Update to 0.8.5.7.adamw2005-08-013-6/+43 | * - Update to 0.12.0sem2005-07-313-8/+111 | | | | | PR: ports/84381 Submitted by: maintainer * Update to version 1.0markus2005-07-306-26/+6 | * Update to 0.8.5.5.adamw2005-07-292-3/+3 | * deskutils/fusenshi:daichi2005-07-292-4/+4 | | | | | | | | | - update to 0.7.4 - change maintainer to Masanori OZAWA <ozawa@ongs.co.jp> who is developer of this application PR: ports/84216 Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> * deskutils/fusenshi: update to 0.7.4daichi2005-07-282-3/+3 | | | | | PR: ports/84206 Submitted by: maintainer * - update auf gnustep 1.11dinoex2005-07-281-12/+0 | * Update to 1.0.3.4vs2005-07-288-194/+54 | | | | | PR: ports/84065 Submitted by: Ports Fury * - Fix MASTER_SITES and WWW linegarga2005-07-262-2/+2 | | | | | | PR: ports/84075 Submitted by: Tobias Roth <ports@fsck.ch> (maintainer) Approved by: flz (mentor) * Update to 0.7.4.novel2005-07-263-3/+7 | | | | | PR: 84064 Submitted by: Ports Fury * Update maintainer email address to match his other ports.linimon2005-07-261-1/+1 | * Add kchmviewer 0.92, a Qt/KDE viewer for CHM files.markus2005-07-2613-0/+165 | | | | | | | | | | | | | | KchmViewer is a chm (MS HTML help file format) viewer. Unlike most existing CHM viewers for Unix, it uses Trolltech's Qt widget library, and does not depend on KDE or Gnome. However, it may be compiled with full KDE support, including KDE widgets and KIO/KHTML. The main advantage of KchmViewer is non-english language support. Unlike others, KchmViewer in most cases correctly detects help file encoding, correctly shows tables of context of russian, korean, chinese and japanese help files, and correctly searches in non-english help files. WWW: http://kchmviewer.sourceforge.net/ * This port is scheduled for deletion on 2005-09-22 if it is still brokenkris2005-07-231-0/+2 | | | | at that time and no PRs have been submitted to fix it. * Upgrade to 1.0.0.008-2 (including security fixes).kuriyama2005-07-233-81/+115 | | | | Notified by: many * Fix build on 4.xjylefort2005-07-221-3/+11 | | | | Reported by: pointyhat via kris * Really fix it on 7.x.novel2005-07-211-2/+2 | | | | Reported by: pointyhat via kris * Fix build on 4.x.kwm2005-07-181-0/+3 | | | | | PR: 83542 Submitted by: Marcus Grando <marcus AT corp dot grupos dot com dot br> * - Add a dependency on database backend, bsddb by default, gdbm aspav2005-07-181-3/+13 | | | | | | | an alternative option PR: ports/83592 Submitted by: Franz Klammer <klammer@webonaut.com> (maintainer) * - Update to 5.0pav2005-07-162-3/+3 | | | | | PR: ports/83438 Submitted by: Gerrit Beine <tux@pinguru.net> (maintainer) * Attempt to fix build on 7.x (7.x now is pretty same that 6.x, so teachnovel2005-07-151-0/+6 | | | | | | the configure script to deal with 7.x like with 6.x). Reported by: poinyhat via kris * - Fix MASTER_SITESpav2005-07-141-2/+2 | | | | | PR: ports/83436 Submitted by: Gerrit Beine <tux@pinguru.net> (maintainer) * Add MASTER_SITE_GENTOO to MASTER_SITES to fix fetch.novel2005-07-141-1/+2 | | | | Reported by: poinyhat via kris * Update to version 0.8markus2005-07-148-42/+76 | * An application / program launcher for Motif/X much like thepav2005-07-126-0/+46 | | | | | | | Windows Run Dialog. PR: ports/83281 Submitted by: Matthew Holder <sixxgate@hotmail.com> * Add a patch, bump the PORTREVISION.mezz2005-07-112-2/+21 | | | | | | | | | | | | | | * Tomboy/panelapplet/AppletFactory.cs: Subclass from GLib.Object. Needed to work around what I can only guess is a mono 1.0.x and 1.1.x incompatibility, whereby calling protected GLib.Object.LookupGType externally is no longer allowed. Hopefully fixes bug #306815. http://bugzilla.gnome.org/show_bug.cgi?id=306815 Reported by: Geraud CONTINSOUZAS <gej at jmenbra.nl> Took from: tomboy CVS. BSD# - Project by: http://www.mono-project.com/Mono:FreeBSD * - Distfile was rerolledmarkus2005-07-113-2/+14 | | | | | | | | | | | - Bump PORTREVISION Changes: - Updated buildsystem (where a new bug slipped in, therefore the new patch) - bugfix in src/fs/filesystem.cpp - two new sanity checks in src/library/ktagebuch.cpp Submitted by: pointyhat via kris * Update to Gaim 1.4.0. See http://gaim.sourceforge.net/ChangeLog formarcus2005-07-091-1/+1 | | | | | the list of changes. Also, bump all PORTREVISIONs for ports that depend on Gaim. * Upgrade to version 0.9.16.006.olgeni2005-07-063-72/+56 | | | | Security fix for SA15852 - http://secunia.com/advisories/15852/ * Add klipoquery 0.2.4, a panel applet for web searches using clipboardmarkus2005-07-055-0/+53 | | | | | | | | | | | | | | | | entries. The KlipOQuery panel applet for KDE is meant to be a bridge between klipper and the web. By simply copying the active item from the clipboard, KlipOQuery will pass this string to the selected service from the popupmenu. Features: - Get infos from selected words of all applications with one click - Group services in your own categories - Change selected services with the scrollwheel - Have a fast access to your top services WWW: http://www.michael-vonrueden.de/klipoquery/ * Don't overwrite header file of chmlibarved2005-07-043-3/+17 | | | | | Submitted by: maintainer Reported by: pointyhat * Fix pkg-plist.danfe2005-07-041-0/+1 | | | | Reported by: krismail * Fix plist.novel2005-07-032-0/+4 | | | | | | PR: 82925 Submitted by: Franz Klammer (maintainer) Reported by: pointyhat via kris * - Don't depend on removed astro/gdesklets-weather portpav2005-07-031-3/+2 | * - Update to 1.0pav2005-07-032-5/+5 | | | | - Switch to wx 2.6 * Update to 0.8.5.4.adamw2005-07-023-29/+34 | * - Python is not required to build, only to rundanfe2005-07-012-6/+6 | | | | - Adjust pkg-descr slightly * Update to 0.35.1.novel2005-06-304-38/+33 | | | | | PR: 82817 Submitted by: Franz Klammer (maintainer) * Add cycle 0.3.0, a calendar for women.danfe2005-06-3011-0/+1135 | | | | | Idea from: LG G1800 Obtained from: Debian (patches and manpage) * Update to KDE 3.4.1lofi2005-06-26