19 lines
340 B
C
19 lines
340 B
C
#ifndef SHM_H
|
|
#define SHM_H
|
|
|
|
#include <structures.h>
|
|
|
|
#define SHMKEY 'H'
|
|
|
|
extern int _SHMID;
|
|
|
|
void setupServerShm();
|
|
void setupClientShm();
|
|
|
|
int getShmid(); //FIXME: dovrebbero andare nel .c perche non vanno usate da altri file
|
|
tile_t * shmServerAt();
|
|
tile_t * shmClientAt();
|
|
void shmDt(void *shm_ptr);
|
|
void shmServerRm(int shmid);
|
|
|
|
#endif |