26 lines
416 B
C
26 lines
416 B
C
#ifndef SHM_H
|
|
#define SHM_H
|
|
|
|
#include <structures.h>
|
|
|
|
#define SHMKEY 'H'
|
|
|
|
extern int _SHMID;
|
|
|
|
void setupServerShm();
|
|
void setupClientShm();
|
|
|
|
int getShmidServer();
|
|
int getShmidClient();
|
|
tile_t * shmServerAt();
|
|
tile_t * shmClientAt();
|
|
void shmDt(void *shm_ptr);
|
|
void shmServerRm(int shmid);
|
|
|
|
#endif
|
|
|
|
/************************************
|
|
*VR471576
|
|
*Lorenzo Bianchi
|
|
*16/06/2023
|
|
*************************************/ |