IDZEBRA 2.2.11
flock.h File Reference
#include <yaz/yconfig.h>

Go to the source code of this file.

Typedefs

typedef struct zebra_lock_handle * ZebraLockHandle

Functions

ZebraLockHandle zebra_lock_create (const char *dir, const char *file)
void zebra_lock_destroy (ZebraLockHandle h)
int zebra_unlock (ZebraLockHandle h)
char * zebra_mk_fname (const char *dir, const char *name)
int zebra_lock_w (ZebraLockHandle h)
int zebra_lock_r (ZebraLockHandle h)
void zebra_flock_init (void)

Typedef Documentation

◆ ZebraLockHandle

Definition at line 27 of file flock.h.

Function Documentation

◆ zebra_flock_init()

void zebra_flock_init ( void )

◆ zebra_lock_create()

◆ zebra_lock_destroy()

◆ zebra_lock_r()

◆ zebra_lock_w()

◆ zebra_mk_fname()

char * zebra_mk_fname ( const char * dir,
const char * name )

Definition at line 84 of file flock.c.

References zebra_lock_info::fname.

Referenced by zebra_get_state(), zebra_lock_create(), and zebra_set_state().

◆ zebra_unlock()