IDZEBRA  2.2.7
Data Fields
zebra_lock_info Struct Reference

Data Fields

int fd
 
char * fname
 
int ref_count
 
int no_file_write_lock
 
int no_file_read_lock
 
Zebra_lock_rdwr rdwr_lock
 
Zebra_mutex file_mutex
 
struct zebra_lock_infonext
 

Detailed Description

Definition at line 64 of file flock.c.

Field Documentation

◆ fd

int zebra_lock_info::fd

file descriptor

Definition at line 66 of file flock.c.

Referenced by zebra_lock_create(), zebra_lock_destroy(), zebra_lock_r(), zebra_lock_w(), and zebra_unlock().

◆ file_mutex

Zebra_mutex zebra_lock_info::file_mutex

◆ fname

char* zebra_lock_info::fname

full path (xmalloc'ed)

Definition at line 68 of file flock.c.

Referenced by zebra_lock_create(), zebra_lock_destroy(), zebra_lock_r(), zebra_lock_w(), zebra_mk_fname(), and zebra_unlock().

◆ next

struct zebra_lock_info* zebra_lock_info::next

next in lock list

Definition at line 79 of file flock.c.

Referenced by zebra_lock_create(), and zebra_lock_destroy().

◆ no_file_read_lock

int zebra_lock_info::no_file_read_lock

Definition at line 74 of file flock.c.

Referenced by zebra_lock_create(), zebra_lock_r(), and zebra_unlock().

◆ no_file_write_lock

int zebra_lock_info::no_file_write_lock

number of file write locks/read locks

Definition at line 73 of file flock.c.

Referenced by zebra_lock_create(), zebra_lock_r(), zebra_lock_w(), and zebra_unlock().

◆ rdwr_lock

Zebra_lock_rdwr zebra_lock_info::rdwr_lock

◆ ref_count

int zebra_lock_info::ref_count

reference counter: number of zebra_lock_handles pointing to us

Definition at line 70 of file flock.c.

Referenced by zebra_lock_create(), and zebra_lock_destroy().


The documentation for this struct was generated from the following file: