/* $OpenLDAP$ */1/* This work is part of OpenLDAP Software <http://www.openldap.org/>.2*3* Copyright 1998-2024 The OpenLDAP Foundation.4* All rights reserved.5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted only as authorized by the OpenLDAP8* Public License.9*10* A copy of this license is available in file LICENSE in the11* top-level directory of the distribution or, alternatively, at12* <http://www.OpenLDAP.org/license.html>.13*/1415/* File locking methods16*17* lutil_lockf() will block until an exclusive lock is acquired.18*/1920#ifndef _LUTIL_LOCKF_H_21#define _LUTIL_LOCKF_H_2223LDAP_BEGIN_DECL2425LDAP_LUTIL_F( int )26lutil_lockf LDAP_P(( int fd ));2728LDAP_LUTIL_F( int )29lutil_unlockf LDAP_P(( int fd ));3031LDAP_END_DECL3233#endif /* _LUTIL_LOCKF_H_ */343536