]> git.sur5r.net Git - openldap/blob - include/lutil_lockf.h
Delete obsolete symbols acl_access_allowed and acl_get_applicable
[openldap] / include / lutil_lockf.h
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 1998,1999 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 #ifdef __MINGW32__
23 #   undef LDAP_F_PRE
24 #   ifdef LIBLUTIL_DECL
25 #       define LDAP_F_PRE       extern __declspec(LIBLUTIL_DECL)
26 #   else
27 #       define LDAP_F_PRE       extern
28 #   endif
29 #endif
30
31 LDAP_F( int )
32 lutil_lockf LDAP_P(( int fd ));
33
34 LDAP_F( int )
35 lutil_unlockf LDAP_P(( int fd ));
36
37 LDAP_END_DECL
38
39 #endif /* _LUTIL_LOCKF_H_ */