Elaborato_SO/inc/custom_shm.h

16 lines
226 B
C
Raw Normal View History

2023-05-14 18:51:32 +02:00
#ifndef SHM_H
#define SHM_H
2023-05-15 09:23:17 +02:00
#include <structures.h>
2023-05-23 15:47:34 +02:00
extern int _SHMID;
2023-05-23 15:41:23 +02:00
2023-05-29 11:37:43 +02:00
void setupServerShm();
2023-05-29 12:16:36 +02:00
int getShmid();
tile_t * shmServerAt();
2023-05-29 13:06:22 +02:00
tile_t * shmClientAt();
2023-05-15 09:14:34 +02:00
void shmDt(void *shm_ptr);
void shmServerRm(int shmid);
2023-05-14 18:51:32 +02:00
#endif