23 lines
No EOL
541 B
C
23 lines
No EOL
541 B
C
#ifndef EMBEDDED_DEVICE_H
|
|
#define EMBEDDED_DEVICE_H
|
|
|
|
#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 |