mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Add a flag parameter to dotlock_create.
This allows us to extend this function in the future.
This commit is contained in:
parent
567a31c2a0
commit
ed8e267859
15 changed files with 37 additions and 24 deletions
|
@ -26,8 +26,8 @@ struct dotlock_handle;
|
|||
typedef struct dotlock_handle *dotlock_t;
|
||||
|
||||
void dotlock_disable (void);
|
||||
dotlock_t dotlock_create (const char *file_to_lock);
|
||||
void dotlock_destroy ( dotlock_t h );
|
||||
dotlock_t dotlock_create (const char *file_to_lock, unsigned int flags);
|
||||
void dotlock_destroy (dotlock_t h);
|
||||
int dotlock_take (dotlock_t h, long timeout);
|
||||
int dotlock_release (dotlock_t h);
|
||||
void dotlock_remove_lockfiles (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue