Add model
This commit is contained in:
parent
90508a3b3b
commit
f33b6c8acb
6 changed files with 467 additions and 10 deletions
27
include/common.h
Normal file
27
include/common.h
Normal 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*/
|
Loading…
Add table
Add a link
Reference in a new issue