2023-05-12 12:39:48 +02:00
|
|
|
#ifndef SIGNAL_H
|
|
|
|
#define SIGNAL_H
|
|
|
|
|
2023-05-21 11:59:15 +02:00
|
|
|
#define TIME_TO_RESET 2
|
2023-05-12 12:39:48 +02:00
|
|
|
|
2023-05-23 15:47:34 +02:00
|
|
|
extern pid_t _PIDS[2];
|
2023-05-23 15:41:23 +02:00
|
|
|
|
2023-05-21 11:59:15 +02:00
|
|
|
void sigHandlerServer(int sig);
|
2023-05-29 12:35:04 +02:00
|
|
|
|
|
|
|
void setupServerSignalHandler();
|
2023-05-29 13:06:22 +02:00
|
|
|
void setupClientSignalHandler();
|
2023-05-12 12:39:48 +02:00
|
|
|
|
2023-06-18 16:13:05 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
*VR471576
|
|
|
|
*Lorenzo Bianchi
|
|
|
|
*16/06/2023
|
|
|
|
*************************************/
|