mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
s/DOTLOCK/dotlock_t/.
Add some stuff for g13.
This commit is contained in:
parent
3974488cd1
commit
1d0e9816e4
18 changed files with 903 additions and 39 deletions
|
@ -500,7 +500,7 @@ disable_dotlock (void)
|
|||
{
|
||||
}
|
||||
|
||||
DOTLOCK
|
||||
dotlock_t
|
||||
create_dotlock (const char *file_to_lock)
|
||||
{
|
||||
(void)file_to_lock;
|
||||
|
@ -508,13 +508,13 @@ create_dotlock (const char *file_to_lock)
|
|||
}
|
||||
|
||||
void
|
||||
destroy_dotlock (DOTLOCK h)
|
||||
destroy_dotlock (dotlock_t h)
|
||||
{
|
||||
(void)h;
|
||||
}
|
||||
|
||||
int
|
||||
make_dotlock (DOTLOCK h, long timeout)
|
||||
make_dotlock (dotlock_t h, long timeout)
|
||||
{
|
||||
(void)h;
|
||||
(void)timeout;
|
||||
|
@ -522,7 +522,7 @@ make_dotlock (DOTLOCK h, long timeout)
|
|||
}
|
||||
|
||||
int
|
||||
release_dotlock (DOTLOCK h)
|
||||
release_dotlock (dotlock_t h)
|
||||
{
|
||||
(void)h;
|
||||
return 0;
|
||||
|
|
|
@ -78,7 +78,7 @@ static void unlock_all (KEYDB_HANDLE hd);
|
|||
static int
|
||||
maybe_create_keyring (char *filename, int force)
|
||||
{
|
||||
DOTLOCK lockhd = NULL;
|
||||
dotlock_t lockhd = NULL;
|
||||
IOBUF iobuf;
|
||||
int rc;
|
||||
mode_t oldmask;
|
||||
|
|
|
@ -55,7 +55,7 @@ struct keyring_name
|
|||
struct keyring_name *next;
|
||||
int secret;
|
||||
int readonly;
|
||||
DOTLOCK lockhd;
|
||||
dotlock_t lockhd;
|
||||
int is_locked;
|
||||
int did_full_scan;
|
||||
char fname[1];
|
||||
|
|
|
@ -86,7 +86,7 @@ struct cmp_xdir_struct {
|
|||
|
||||
|
||||
static char *db_name;
|
||||
static DOTLOCK lockhandle;
|
||||
static dotlock_t lockhandle;
|
||||
static int is_locked;
|
||||
static int db_fd = -1;
|
||||
static int in_transaction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue