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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/**
* @file mastrust.h
* @author Kevin Alexander Krefting
* @date 2024-02-20
* @version 0.1
* @brief Token Struct
* @brief BufferFile Struct
* @brief Tokenizer
*/
/**
* Header Files,
* very Important
* for many Actions
* in this header File
*/
/**
* @brief Token struct
* @param type The type of the token
* @param value value The value of the token
* @param string the Token as String.
* @param length The length of the token
*/
typedef struct CToken CToken;
/**
* @brief BufferFile struct
* @param path The File Path
* @param buffer The Buffer
* @param mode The File mode
* @param size The File Size
* @param bytes The String as Byte
* @param string The String
*/
typedef struct CBufferFile CBufferFile;
// Now we define The Functions, but not an Implementation, this follow the mastrust.c file
void ; // For initial the Class
void ; // For tokenize the String
uint8_t* ; // For get the TOken, (The Value Variable is the Token)
char* ; // Get the Input String
char* ; // Get the Type
uint8_t ; // Get the size