Airframe Application Utilities
libairframe 0.7.2 API documentation

Main Page | Data Structures | File List | Data Fields | Globals

_AirLock Struct Reference

A lock structure. More...

#include <airlock.h>


Data Fields

GString * lpath
 Path to .lock file.
int lfd
 File descriptor of open .lock file.
gboolean held
 TRUE if this lock is held, and lpath and lfd are valid.

Detailed Description

A lock structure.

Must be maintained by a caller from lock acquisition to release. Should be initialized by AIR_LOCK_INIT or memset(0) or bzero().


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