/*
** @(#) Revision 1.1 - 01/17/97
** semutils.h
**
** ======================================================================= 
** Andrea Whitlock, Mobius Software Services
** whitlock@mobius-soft.com
** 
** Bug reports, questions, and suggestions should be emailed to:
** mobius@mobius-soft.com
**
** This software is provided under the terms of the GNU copyleft
** (ftp://prep.ai.mit.edu/pub/gnu/COPYING-2.0), without a warranty
** of any kind.  Use at your own risk.
** ======================================================================= 
**
** Description:
** Include file.
**
** Notes:
** Set tabstops to 4.
**
*/

static char semutilshSccsId[] = "@(#)semutils.h	1.1\t01/17/97";
static char semutilshVerId[] = "VER 1.1";

/* includes */

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <errno.h>

/* defines */

#define PERMS 		S_IRWXU|S_IRWXG|S_IRWXO
#define SETSIZE 	1

/* function prototypes */
void 	set_sembuf_struct(struct sembuf *, int , int, int);
int 	remove_semaphore(int);
int		initialize_semaphore(int, int);
int		make_semaphore(int *, char *, char);
