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