Commander-API  V0.2A
Commander-API is a C API, that interprets character-based commands
API_t Struct Reference

Structure for command data. More...

#include <interpreter.h>

Public Attributes

uint16_t place
 
struct API_tleft
 
struct API_tright
 
const char ** name
 
const char ** desc
 
void(* func )(char *, int(*resp_fn)(const char *,...))
 

Detailed Description

Structure for command data.

Every command will get a structure like this. This structure is used to store your commands in a balanced binary tree.

Member Data Documentation

◆ desc

const char** API_t::desc

◆ func

void(* API_t::func) (char *, int(*resp_fn)(const char *,...))

◆ left

struct API_t* API_t::left

◆ name

const char** API_t::name

◆ place

uint16_t API_t::place

◆ right

struct API_t* API_t::right