2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1998-2017 The OpenLDAP Foundation.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted only as authorized by the OpenLDAP
11 * A copy of this license is available in file LICENSE in the
12 * top-level directory of the distribution or, alternatively, at
13 * <http://www.OpenLDAP.org/license.html>.
16 /* File locking methods
18 * lutil_lockf() will block until an exclusive lock is acquired.
21 #ifndef _LUTIL_LOCKF_H_
22 #define _LUTIL_LOCKF_H_
27 lutil_lockf LDAP_P(( int fd ));
30 lutil_unlockf LDAP_P(( int fd ));
34 #endif /* _LUTIL_LOCKF_H_ */