Imported Upstream version 2.6.0
This commit is contained in:
parent
26fb71b504
commit
459aaf9392
510 changed files with 40508 additions and 18859 deletions
|
|
@ -64,7 +64,7 @@
|
|||
#define FLAG_POLL 0 /* For commands that polled normaly */
|
||||
#define FLAG_POLLONCE 1 /* For commands that only polled once */
|
||||
/* Some baud rates for setup_serial() */
|
||||
struct baud_rate_t {
|
||||
struct {
|
||||
int rate;
|
||||
int name;
|
||||
} baud_rates[] = {
|
||||
|
|
@ -80,11 +80,11 @@ struct baud_rate_t {
|
|||
|
||||
/* macro for checking whether a variable is supported */
|
||||
|
||||
struct sec_varlist_t {
|
||||
char *setcmd; /* INFO_x define from shared.h */
|
||||
char *name; /* Human readable text (also in shared-tables.h) */
|
||||
struct {
|
||||
const char *setcmd; /* INFO_x define from shared.h */
|
||||
const char *name; /* Human readable text (also in shared-tables.h) */
|
||||
int unit; /* Variable should be divided by this */
|
||||
char *cmd; /* Command to send to pool/set variable */
|
||||
const char *cmd; /* Command to send to pool/set variable */
|
||||
int field; /* Which returned field variable corresponsd to */
|
||||
int size; /* string length/integer max/enum count */
|
||||
int poll; /* poll flag */
|
||||
|
|
@ -191,8 +191,8 @@ struct sec_varlist_t {
|
|||
#define SEC_POLL 1
|
||||
#define SEC_POLLONCE 0
|
||||
|
||||
struct sec_querylist_t {
|
||||
char *command; /* sec command */
|
||||
struct {
|
||||
const char *command; /* sec command */
|
||||
int varnum[SEC_MAXFIELDS]; /* sec variable number for each field */
|
||||
int pollflag;
|
||||
} sec_querylist[SEC_QUERYLIST_LEN];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue