Classes | Defines | Functions | Variables
command.h File Reference
#include <stdio.h>
#include <string.h>
#include "pigpio.h"
Include dependency graph for command.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmdCmd_t
struct  cmdCtlParse_t
struct  cmdInfo_t
struct  cmdInstr_t
struct  cmdScript_t
struct  cmdTagStep_t

Defines

#define CMD_BAD_PARAMETER   -2
#define CMD_EXT_TOO_SMALL   -3
#define CMD_MAX_EXTENSION   (1<<16)
#define CMD_MAX_PARAM   512
#define CMD_NUMERIC   1
#define CMD_P_ARR   10
#define CMD_PAR   3
#define CMD_UNKNOWN_CMD   -1
#define CMD_V_ARR   10
#define CMD_VAR   2

Functions

char * cmdErrStr (int error)
int cmdParse (char *buf, uint32_t *p, unsigned ext_len, char *ext, cmdCtlParse_t *ctl)
int cmdParseScript (char *script, cmdScript_t *s, int diags)
char * cmdStr (void)

Variables

cmdInfo_t cmdInfo []
char * cmdUsage

Define Documentation

#define CMD_BAD_PARAMETER   -2

Definition at line 44 of file command.h.

#define CMD_EXT_TOO_SMALL   -3

Definition at line 45 of file command.h.

#define CMD_MAX_EXTENSION   (1<<16)

Definition at line 41 of file command.h.

#define CMD_MAX_PARAM   512

Definition at line 40 of file command.h.

#define CMD_NUMERIC   1

Definition at line 50 of file command.h.

#define CMD_P_ARR   10

Definition at line 47 of file command.h.

#define CMD_PAR   3

Definition at line 52 of file command.h.

#define CMD_UNKNOWN_CMD   -1

Definition at line 43 of file command.h.

#define CMD_V_ARR   10

Definition at line 48 of file command.h.

#define CMD_VAR   2

Definition at line 51 of file command.h.


Function Documentation

char* cmdErrStr ( int  error)

Definition at line 1248 of file command.c.

int cmdParse ( char *  buf,
uint32_t *  p,
unsigned  ext_len,
char *  ext,
cmdCtlParse_t ctl 
)

Definition at line 629 of file command.c.

int cmdParseScript ( char *  script,
cmdScript_t s,
int  diags 
)

Definition at line 1259 of file command.c.

char* cmdStr ( void  )

Definition at line 624 of file command.c.


Variable Documentation

Definition at line 41 of file command.c.

char* cmdUsage

Definition at line 264 of file command.c.



cob_hand_bridge
Author(s): Mathias Lüdtke
autogenerated on Thu Jun 6 2019 20:43:57