BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
#include <bsp430/utility/cli.h>
Data Fields | |
sBSP430cliCompletionHelper | completion_helper |
const char *const * | strings |
size_t | len |
Structure supporting completion based on a static list of acceptable strings.
One of the most common cases for non-command completion is selection among a set of permitted tokens. This structure encodes the necessary information to convey those tokens to vBSP430cliCompletionHelperStrings, which itself should be stored as completion_helper.helper.
sBSP430cliCompletionHelper sBSP430cliCompletionHelperStrings::completion_helper |
The common completion helper data, which should have its sBSP430cliCompletionHelper::helper field set to vBSP430cliCompletionHelperStrings().
size_t sBSP430cliCompletionHelperStrings::len |
The number of elements in strings.
const char* const* sBSP430cliCompletionHelperStrings::strings |
A pointer to a sequence of pointers to valid strings. Note that it is explicitly permitted for one or more of the contained pointers to be null; those entries are ignored for the purposes of completion.