[Assignment-7] final

This commit is contained in:
Sascha Tommasone 2024-07-07 22:33:11 +02:00 committed by saschato
parent ff8779256c
commit fc0438e5dd
7 changed files with 212 additions and 60 deletions

View file

@ -3,8 +3,21 @@
#include <stdint.h>
/*
* @brief getter for embedded subcommand syntax string
*
* @returns null-terminated syntax string
*/
char *embedded_device_syntax(void);
/*
* @brief CLI implementation for the "embedded" subcommand
*
* @param argc number of arguments with command and subcommand stripped
* @param argv arguments with command and subcommand stripped
*
* @returns 0 on success, else error with output on stderr
*/
int handle_embedded_device(int argc, char **argv);
#endif