|
Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
|


Go to the source code of this file.
Data Structures | |
| struct | command_s |
| Define structure of a command @command being the trigger string @opt Currently unused @arg_nb number of argument taken by command @command_fct Function pointer to command function. More... | |
Functions | |
| char ** | parse_command (char *str) |
| Parse a command using COMMAND_DELIMITER as delimiter. | |
| char *** | parse_buffer (uint8_t *buffer, ssize_t buf_size) |
| Get all command in buffer (a command is delimited by COMMAND_SEPARATOR) | |
| char *** parse_buffer | ( | uint8_t * | buffer, |
| ssize_t | buf_size ) |
Get all command in buffer (a command is delimited by COMMAND_SEPARATOR)
| buffer | Read buffer from server |
| buf_size | Size of buffer |
Definition at line 97 of file command_parse.c.
| char ** parse_command | ( | char * | str | ) |
Parse a command using COMMAND_DELIMITER as delimiter.
| str | Command string to parse |
Definition at line 48 of file command_parse.c.