1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Improved the dotlock module.

- It is now more portable and may be used outside of GnuPG
- vfat file systems are now supported.
- The use of link(2) is more robust.
- Wrote extensive documentation.
This commit is contained in:
Werner Koch 2011-09-27 17:18:56 +02:00
parent 537be4ca47
commit 8a033fecfb
4 changed files with 529 additions and 43 deletions

View file

@ -1,5 +1,5 @@
/* dotlock.h - dotfile locking
* Copyright (C) 2000, 2001, 2006, 2011 Free Software Foundation, Inc.
/* dotlock.h - dotfile locking declarations
* Copyright (C) 2000, 2001, 2006, 2011 Free Software Foundation, Inc.
*
* This file is part of JNLIB, which is a subsystem of GnuPG.
*
@ -20,6 +20,8 @@
#ifndef LIBJNLIB_DOTLOCK_H
#define LIBJNLIB_DOTLOCK_H
/* See dotlock.c for a description. */
struct dotlock_handle;
typedef struct dotlock_handle *dotlock_t;