3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
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.
12 /* File locking methods
14 * lutil_lockf() will block until an exclusive lock is acquired.
17 #ifndef _LUTIL_LOCKF_H_
18 #define _LUTIL_LOCKF_H_
25 # define LDAP_F_PRE extern __declspec(LIBLUTIL_DECL)
27 # define LDAP_F_PRE extern
32 lutil_lockf LDAP_P(( int fd ));
35 lutil_unlockf LDAP_P(( int fd ));
39 #endif /* _LUTIL_LOCKF_H_ */