/* -*- 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 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_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 */ tron4/files/lodash-4.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
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-2/+2
* Cleanup plistbapt2014-10-271-5/+0
* - Drop .la files, no dependees require themamdmi32014-08-132-4/+3
* When linking a library libA with a library libB using libtool, if libB.latijl2014-04-231-2/+2
* Support stagebapt2014-01-292-8/+14
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Add an explicit dependency on pkgconfbapt2013-09-031-2/+1
* Mechanically convert unmaintained ports which use "gnomehack" to use "pathfix...eadler2013-03-281-7/+3
* - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)gahr2013-02-141-2/+0
* - update png to 1.5.10dinoex2012-06-011-1/+1
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+3
* Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-121-1/+1
* -remove MD5ohauer2011-07-031-1/+0
* Sync to new bsd.autotools.mkade2010-12-041-1/+1
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1
* - Update to 0.6.6miwi2008-03-153-15/+12
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-011-0/+1
* Upgrade to 0.6.5 and unbreak for gcc > 2.95.thierry2006-09-264-25/+6
* - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-151-1/+1
* [PATCH] devel/libsigcx: Fix pkg-plistedwin2006-04-071-0/+2
* Conversion to a single libtool environment.ade2006-02-231-1/+0
* - Add some SHA256 checksumspav2005-11-241-0/+1
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1
* Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1
* USE_LIBTOOL instead of local patchvs2005-04-152-24/+1
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1
* Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-1/+1
* BROKEN on 5.x: Does not compilekris2004-09-191-1/+7