Add model

This commit is contained in:
Yorick Barbanneau 2021-10-01 00:03:33 +02:00
parent 90508a3b3b
commit f33b6c8acb
6 changed files with 467 additions and 10 deletions

27
include/common.h Normal file
View file

@ -0,0 +1,27 @@
#ifndef COMMON_H
#define COMMON_H
#include <assert.h>
#include <err.h>
#include <errno.h>
#include <libgen.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <unistd.h>
typedef unsigned int uint;
/*Status code to represent respectively,
a negative answer,
a positive answer,
an almost positive answer
*/
typedef enum {
NO,
YES,
ALMOST,
} e_status;
#endif /*COMMON*/