Version 1.8.0.0
[socat.git] / xiolockfile.h
blobd485c75be3c43570171081532e5154fc2555b8be
1 /* source: xiolockfile.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
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) */