]> git.sur5r.net Git - openldap/blob - include/lutil_lockf.h
Update lutil_lockf (aka: ldap_lockf) to hide implementation in
[openldap] / include / lutil_lockf.h
1 /*
2  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted only
6  * as authorized by the OpenLDAP Public License.  A copy of this
7  * license is available at http://www.OpenLDAP.org/license.html or
8  * in file LICENSE in the top-level directory of the distribution.
9  */
10
11 /* File locking methods */
12 /* only available if fcntl() locking is required */
13
14 #ifndef _LUTIL_LOCKF_H_
15 #define _LUTIL_LOCKF_H_
16
17 LDAP_BEGIN_DECL
18
19 LDAP_F int lutil_lockf LDAP_P(( int fd ));
20 LDAP_F int lutil_unlockf LDAP_P(( int fd ));
21
22 LDAP_END_DECL
23
24 #endif /* _LUTIL_LOCKF_H_ */