42 lines
616 B
C
42 lines
616 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <stdint.h>
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
#include <pthread.h>
|
|
#include <ncurses.h>
|
|
#include <pthread.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#include <errno.h>
|
|
#include <termios.h>
|
|
#include <string.h>
|
|
#include <signal.h>
|
|
|
|
#include "utils.h"
|
|
|
|
#ifndef __MAIN_H__
|
|
#define __MAIN_H__
|
|
|
|
#ifndef TRUE
|
|
#define TRUE 1
|
|
#endif
|
|
|
|
#ifndef FALSE
|
|
#define FALSE 0
|
|
#endif
|
|
|
|
#ifndef BYTE
|
|
#define BYTE uint8_t
|
|
#endif
|
|
|
|
#define MIN_X_TERMINAL_SIZE 50
|
|
#define MIN_Y_TERMINAL_SIZE 20
|
|
|
|
void handle_sigint(int sig);
|
|
|
|
int main(int argc, char const **argv);
|
|
|
|
|
|
#endif |