/*
* Copyright (c) 2000-2001, 2005, 2008 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
* $Id: sem.h,v 1.11 2013-11-22 20:51:31 ca Exp $
*/
#ifndef SM_SEM_H
/* key for semaphores */
# if SM_CONF_SEM > 0
# if SM_CONF_SEM == 2
union semun
{
int val;
};
# endif /* SM_CONF_SEM == 2 */
# ifndef SEM_A
# endif /* SEM_A */
# ifndef SEM_R
# endif /* SEM_R */
extern int sm_sem_stop __P((int));
extern int sm_sem_acq __P((int, int, int));
extern int sm_sem_rel __P((int, int, int));
extern int sm_sem_get __P((int, int));
# else /* SM_CONF_SEM > 0 */
# endif /* SM_CONF_SEM > 0 */
#endif /* ! SM_SEM_H */