NetBurner 3.5.8
PDF Version
Toggle main menu visibility
serial_extensions.h
1
2
#ifndef NB_SERIAL_EXTENSIONS_H
3
#define NB_SERIAL_EXTENSIONS_H
4
class
fifo_buffer_storage
;
5
6
typedef
void (*ExtendedCommand)(
int
fd,
fifo_buffer_storage
&rest_of_command);
7
8
const
uint32_t CommandFlagHidden=1;
//Dont show in help
9
const
uint32_t CommandFlagCaseInsensitive=2;
//Case insensitive command
10
11
12
struct
CommandElement
13
{
14
const
char
*CommandText;
15
const
char
*CommandHelpText;
16
ExtendedCommand pCmd;
17
uint32_t flag;
18
};
19
20
// Pass in an array of commands to add, last element should have NULL CommandText
21
extern
const
CommandElement *pPlatformCommands;
22
extern
const
CommandElement *pExtendedCommands;
23
24
#endif
fifo_buffer_storage
FIFO buffer storage using linked pool buffers.
Definition
buffers.h:443
nbrtos
include
serial_extensions.h
Generated by
1.18.0