2023-05-14 18:03:50 +02:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/ipc.h>
|
2023-05-14 21:44:03 +02:00
|
|
|
#include <sys/shm.h>
|
2023-05-14 18:03:50 +02:00
|
|
|
|
2023-05-14 18:10:44 +02:00
|
|
|
#include <server.h>
|
|
|
|
#include <structures.h>
|
2023-05-14 17:07:34 +02:00
|
|
|
|
2023-05-14 18:03:50 +02:00
|
|
|
|
2023-05-14 17:07:34 +02:00
|
|
|
int main(int argc, char *argv[]){
|
2023-05-14 18:08:10 +02:00
|
|
|
input_server_t input = check_input(argc, argv);
|
2023-05-14 18:03:50 +02:00
|
|
|
|
2023-05-14 21:52:56 +02:00
|
|
|
int shmBoardid = getShmid();
|
2023-05-14 22:04:24 +02:00
|
|
|
tile_t *board = shmServerAt(shmBoardid);
|
|
|
|
|
2023-05-14 17:07:34 +02:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|