X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fivac.git;a=blobdiff_plain;f=src%2Finput.h;fp=src%2Finput.h;h=7f5796be534550825e26bb8415873207c5bf0e05;hp=0000000000000000000000000000000000000000;hb=c8c162c2b1f82f32160bcaa4159ea8735a8582c5;hpb=4546108a81317af1135683e85b9340715e585339 diff --git a/src/input.h b/src/input.h new file mode 100644 index 0000000..7f5796b --- /dev/null +++ b/src/input.h @@ -0,0 +1,27 @@ +/* input.h -- input headers */ + +#ifndef INPUT_H +#define INPUT_H + +/* includes */ +#include +#include +#include +#include + +/* defines */ +#define K_SUCCESS 1 +#define K_ERROR -1 + +#define MENUE (1<<0) +#define CONNECTIONS (1<<1) + +#define MAX_CONTENT 128 + +/* input specific variables */ +typedef struct s_input { + char *content; + unsigned char mode; +} t_input; + +#endif