projects
/
my-code
/
ivac.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7f5796be534550825e26bb8415873207c5bf0e05
[my-code/ivac.git]
/
src
/
input.h
1
/* input.h -- input headers */
2
3
#ifndef INPUT_H
4
#define INPUT_H
5
6
/* includes */
7
#include <stdio.h>
8
#include <stdlib.h>
9
#include <unistd.h>
10
#include <errno.h>
11
12
/* defines */
13
#define K_SUCCESS 1
14
#define K_ERROR -1
15
16
#define MENUE (1<<0)
17
#define CONNECTIONS (1<<1)
18
19
#define MAX_CONTENT 128
20
21
/* input specific variables */
22
typedef struct s_input {
23
char *content;
24
unsigned char mode;
25
} t_input;
26
27
#endif