1 /* source: xiolockfile.h */
2 /* Copyright Gerhard Rieger 2005 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xiolockfile_h_included
6 #define __xiolockfile_h_included 1
8 /* preferred lock handling functions */
9 extern int xiolock(xiolock_t
*lock
);
10 extern int xiounlock(const char *lockfile
);
12 /* more "internal" functions */
13 extern int xiogetlock(const char *lockfile
);
14 extern int xiowaitlock(const char *lockfile
, struct timespec
*intervall
);
15 extern int xiofiledroplock(xiofile_t
*xfd
);
17 #endif /* !defined(__xiolockfile_h_included) */