]> git.sur5r.net Git - openldap/blob - include/lutil_lockf.h
Y2k copyright update
[openldap] / include / lutil_lockf.h
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11
12 /* File locking methods
13  *
14  * lutil_lockf() will block until an exclusive lock is acquired.
15  */
16
17 #ifndef _LUTIL_LOCKF_H_
18 #define _LUTIL_LOCKF_H_
19
20 LDAP_BEGIN_DECL
21
22 LIBLUTIL_F( int )
23 lutil_lockf LDAP_P(( int fd ));
24
25 LIBLUTIL_F( int )
26 lutil_unlockf LDAP_P(( int fd ));
27
28 LDAP_END_DECL
29
30 #endif /* _LUTIL_LOCKF_H_ */