24 lines
330 B
C
24 lines
330 B
C
#ifndef SERVER_H
|
|
#define SERVER_H
|
|
|
|
#include <structures.h>
|
|
|
|
|
|
extern input_server_t _INPUT_S;
|
|
|
|
typedef struct {
|
|
int argc;
|
|
char **argv;
|
|
|
|
int msgqid;
|
|
int semid;
|
|
int shmid;
|
|
pid_t pids[2];
|
|
|
|
} server_stats_t;
|
|
|
|
void setupServer(int argc, char *argv[]);
|
|
|
|
input_server_t check_input(int argc, char *argv[]);
|
|
|
|
#endif |