IDZEBRA  2.1.3
Typedefs | Functions
flock.h File Reference
#include <yaz/yconfig.h>

Go to the source code of this file.


typedef struct zebra_lock_handleZebraLockHandle


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

Definition at line 27 of file flock.h.

Function Documentation

void zebra_flock_init ( void  )

Definition at line 391 of file flock.c.

References check_for_linuxthreads(), initialized, log_level, posix_locks, and zebra_mutex_init().

Referenced by main(), and zebra_start_res().

ZebraLockHandle zebra_lock_create ( const char *  dir,
const char *  file 
void zebra_lock_destroy ( ZebraLockHandle  h)
int zebra_lock_r ( ZebraLockHandle  h)
int zebra_lock_w ( ZebraLockHandle  h)
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().

int zebra_unlock ( ZebraLockHandle  h)