1#ifndef __CONFIG_SERVER_SERIAL_H
2#define __CONFIG_SERVER_SERIAL_H
24 AppUpdateRecord *pUpDate;
42 uint32_t time_to_yield;
45 int Match(
const char *cp,
bool printIfError =
true,
int prefixLen = -3,
int startPos = 0,
bool bCaseInsesitve=
false);
53 bool CmdOk() {
return (prefix.
length() == 0) || bCommand; };
55 void ResetTabChoice(
char *c);
57 int FindTabEntry(
int cur_tab);
58 int TabComplete(
int cur_tab);
59 int FindNextTabEntry(
int cur_tab,
int *matchLen,
const char **matchStr,
NBString *name);
60 void OutputTabEntry(
int new_tab,
int old_tab);
61 void FinalizeTabentry(
int tab);
62 config_leaf *FindTabN(config_leaf *pr,
int n);
64 config_leaf *FindConfigLeaf(
char first_char,
int *lastPathRef = NULL);
66 void ShowStoreContents();
72 void Resume(
int fd_cfg,
bool persist);
74 void ProcessReceive();
76 virtual int AddToSelectSet(fd_set &read_fds, fd_set &write_fds, fd_set &error_fds);
77 virtual void ProcessSelectResult(fd_set &read_fds, fd_set &write_fds, fd_set &error_fds);
Lightweight alternative to C++ CString class.
Definition nbstring.h:118
size_t length() const
Returns the length of the string.
Class to run serial configurator.
Definition config_server_serial.h:13
FIFO buffer storage using linked pool buffers.
Definition buffers.h:443
Configuration object header file.
void init()
System initialization. Ideally called at the beginning of all applications, since the easiest Recover...
Signed Application Update API.