|
#ifndef SHM_H
|
|
#define SHM_H
|
|
|
|
#include <structures.h>
|
|
|
|
extern int _SHMID;
|
|
|
|
void setupServerShm();
|
|
|
|
int getShmid(int row, int col);
|
|
tile_t * shmServerAt(int shmid);
|
|
tile_t * shmClientAt(int shmid);
|
|
void shmDt(void *shm_ptr);
|
|
void shmServerRm(int shmid);
|
|
|
|
#endif |