version 1.7.3.0
[socat.git] / xiolockfile.h
blob1cf99c0a889495472ed77ed0aaf7e53f4b4633ea
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) */