2 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
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.
10 /* File locking methods */
12 #ifndef _LUTIL_LOCKF_H_
13 #define _LUTIL_LOCKF_H_
16 #include <ldap_cdefs.h>
23 #ifdef NEED_FCNTL_LOCKING
26 LDAP_F int lutil_ldap_lockf LDAP_P(( FILE *fs ));
27 LDAP_F int lutil_ldap_unlockf LDAP_P(( FILE *fs ));
30 #endif /* NEED_FCNTL_LOCKING */
32 #endif /* _LUTIL_LOCKF_H_ */