-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenums.h
51 lines (45 loc) · 1.42 KB
/
enums.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* enums.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bpisak-l <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/24 17:52:40 by bpisak-l #+# #+# */
/* Updated: 2024/07/25 11:56:52 by bpisak-l ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ENUMS_H
# define ENUMS_H
typedef enum s_mode_io
{
DOUBLE,
SINGLE
} t_mode_io;
typedef enum operation
{
END,
KEEP,
DELIMITER,
SKIP,
} t_operation;
// special characters are temporarily replaced with
// these unprintabe chars to be escaped and later converted back
typedef enum t_special_character
{
DOUBLE_QUOTE = 16,
SINGLE_QUOTE = 17,
GREATER_THAN = 18,
SMALLER_THAN = 19,
} t_special_character;
typedef enum path_status
{
IS_VALID,
IS_DIR,
CMD_NOT_FOUND,
PERMISSION_DENIED,
NOT_EXIST,
WRITE_RIGHTS,
READ_RIGHTS,
} t_path_status;
#endif