/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Author: Michael Zucchi * * Copyright (C) 1999 Ximian (www.ximian.com/). * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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_LOCK_H #define _CAMEL_LOCK_H #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include /* for .lock locking, retry, delay and stale counts */ #define CAMEL_LOCK_DOT_RETRY (5) /* number of times to retry lock */ #define CAMEL_LOCK_DOT_DELAY (2) /* delay between locking retries */ #define CAMEL_LOCK_DOT_STALE (60) /* seconds before a lock becomes stale */ /* for locking folders, retry/interretry delay */ #define CAMEL_LOCK_RETRY (5) /* number of times to retry lock */ #define CAMEL_LOCK_DELAY (2) /* delay between locking retries */ typedef enum { CAMEL_LOCK_READ, CAMEL_LOCK_WRITE, } CamelLockType; /* specific locking strategies */ int camel_lock_dot(const char *path, CamelException *ex); int camel_lock_fcntl(int fd, CamelLockType type, CamelException *ex); int camel_lock_flock(int fd, CamelLockType type, CamelException *ex); void camel_unlock_dot(const char *path); void camel_unlock_fcntl(int fd); void camel_unlock_flock(int fd); /* lock a folder in a standard way */ int camel_lock_folder(const char *path, int fd, CamelLockType type, CamelException *ex); void camel_unlock_folder(const char *path, int fd); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* !_CAMEL_LOCK_H */ .17.19'>dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-4/+2
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* x11-toolkits/gtk-- -> x11-toolkits/gtkmm12mezz2006-05-291-1/+1
* - Update to 0.7.5pav2006-04-115-73/+32
* Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-071-1/+1
* Conversion to a single libtool environment.ade2006-02-231-1/+1
* Reset maintainership to ports@ after ~4 months without any response to anynetchild2006-02-121-1/+1
* Hash with SHA-256.trevor2006-01-081-0/+1
* BROKEN on 5.x: Does not compilekris2004-09-191-1/+7
* Avoid linking with libintl. As found by kris, opmixer does nottrevor2004-03-282-6/+7
* Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-041-3/+3
* Add size data.trevor2004-01-281-0/+1
* Now gettext 0.12.1 is gettext-old.trevor2004-01-241-1/+1
* Bump the PORTREVISION for the ports directly affected by the gettext upgrade.marcus2003-08-271-1/+1
* Chase the libintl.so shared lib version.marcus2003-08-251-1/+1
* Use DOCSDIR macro.trevor2003-05-221-2/+2
* namespace fix for GCC 3.xtrevor2003-05-222-7/+13
* BROKEN on 5.1: bad C++kris2003-05-181-1/+7
* Retire comment file.trevor2003-03-012-1/+1
* Respect CFLAGS and CXXFLAGS.trevor2002-09-222-0/+36
* RIP, <machine/soundcard.h>.trevor2002-09-221-5/+0
* Chase shlib rev of devel/gettextade2002-08-021-1/+1
* Add home page. Shorten "signature."trevor2002-05-261-1/+2
* gettext upgrade uber-patch (stage 3)ade2002-04-131-1/+2
* Stage 1 of gettext update.ade2002-03-161-1/+1
* Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;knu2002-01-291-5/+5