mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Add dotlock_get_fd and dotlock_set_fd.
This commit is contained in:
parent
bf3d5beb71
commit
f61b5371c4
3 changed files with 37 additions and 2 deletions
|
@ -27,6 +27,8 @@ typedef struct dotlock_handle *dotlock_t;
|
|||
|
||||
void dotlock_disable (void);
|
||||
dotlock_t dotlock_create (const char *file_to_lock, unsigned int flags);
|
||||
void dotlock_set_fd (dotlock_t h, int fd);
|
||||
int dotlock_get_fd (dotlock_t h);
|
||||
void dotlock_destroy (dotlock_t h);
|
||||
int dotlock_take (dotlock_t h, long timeout);
|
||||
int dotlock_release (dotlock_t h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue