fslock.h File Reference

#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/types.h>
#include <gwenhywfar/db.h>
#include <gwenhywfar/gui.h>

Go to the source code of this file.

Typedefs

typedef struct GWEN_FSLOCK GWEN_FSLOCK

Enumerations

enum  GWEN_FSLOCK_RESULT {
  GWEN_FSLock_ResultOk = 0, GWEN_FSLock_ResultError, GWEN_FSLock_ResultTimeout, GWEN_FSLock_ResultBusy,
  GWEN_FSLock_ResultNoLock, GWEN_FSLock_ResultUserAbort
}
enum  GWEN_FSLOCK_TYPE { GWEN_FSLock_TypeUnknown = 0, GWEN_FSLock_TypeFile, GWEN_FSLock_TypeDir }

Functions

GWENHYWFAR_API void GWEN_FSLock_free (GWEN_FSLOCK *fl)
GWENHYWFAR_API GWEN_FSLOCK_RESULT GWEN_FSLock_Lock (GWEN_FSLOCK *fl, int timeout, uint32_t gid)
GWENHYWFAR_API GWEN_FSLOCKGWEN_FSLock_new (const char *fname, GWEN_FSLOCK_TYPE t)
GWENHYWFAR_API GWEN_FSLOCK_RESULT GWEN_FSLock_Unlock (GWEN_FSLOCK *fl)


Generated on Wed Sep 3 15:22:00 2008 for gwenhywfar by  doxygen 1.5.6