Commander-API  V2.0.0
Commander-API is a C++ API, that parses character based commands.
Commander::API_t Struct Reference

Structure for command data. More...

#include <Commander-API.hpp>

Public Attributes

uint16_t place
 
struct API_tleft
 
struct API_tright
 
const char * name
 
const char * desc
 
void(* func )(char *, commandResponse *response)
 

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* Commander::API_t::desc

◆ func

void(* Commander::API_t::func) (char *, commandResponse *response)

◆ left

struct API_t* Commander::API_t::left

◆ name

const char* Commander::API_t::name

◆ place

uint16_t Commander::API_t::place

◆ right

struct API_t* Commander::API_t::right