#ifndef __APO_NTALI
#define __APO_NTALI

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>

#define SIZE_APOTHIKI		20
#define SEMNUM_APOTHIKI_FULL	0
#define SEMNUM_APOTHIKI_EMPTY	1
#define SEMNUM_APOTHIKI_MUTEX	2

union semun {int val; struct semid_ds *buf; ushort_t *array; };

typedef struct apothiki {
	int firstItem;
	int lastItem;
	char items[SIZE_APOTHIKI];
} apothiki;

#endif
