ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcppCi.c File Reference
#include <ngc/core/ngcpp.h>
#include <ngc/core/ngcppCom.h>

Macros

#define SP_OPEN(n, p, e)
 
#define SP_CLOSE(l)
 
#define SP_CONNECT(l, h, e)
 
#define SP_DISCONNECT(l)
 
#define SP_GETCOM(l, c, e)
 
#define SP_SENDREP(l, r, e)
 

Functions

void * ngcppCommandProcess (void *argp)
 

Variables

ngcpp_cmd_srv_apingcppCiSys = (ngcpp_cmd_srv_api *)NULL
 
ngcppEXT_CMD ngcppUsrCmdHandler = NULL
 
int ngcppMaxComBufSize = ngcppMAX_COMBUFSIZE
 
int ngcppMaxRepBufSize = ngcppMAX_COMBUFSIZE
 
int ngcppCmdClients = 0
 
char ngcppCmdHost [ngcppCI_MAX_CON][256]
 
int ngcppCmdPort = 0
 

Detailed Description

Macro Definition Documentation

◆ SP_CLOSE

#define SP_CLOSE ( l)
Value:
ngcppCiSys->close(l)
ngcpp_cmd_srv_api * ngcppCiSys
Definition ngcppCi.c:18

◆ SP_CONNECT

#define SP_CONNECT ( l,
h,
e )
Value:
ngcppCiSys->connect(l,h,e)

◆ SP_DISCONNECT

#define SP_DISCONNECT ( l)
Value:
ngcppCiSys->disconnect(l)

◆ SP_GETCOM

#define SP_GETCOM ( l,
c,
e )
Value:
ngcppCiSys->getCommand(l,c,e)

◆ SP_OPEN

#define SP_OPEN ( n,
p,
e )
Value:
ngcppCiSys->open(n,p,e)

◆ SP_SENDREP

#define SP_SENDREP ( l,
r,
e )
Value:
ngcppCiSys->sendReply(l,r,e)

Function Documentation

◆ ngcppCommandProcess()

void * ngcppCommandProcess ( void * argp)

Command interpreter thread

Variable Documentation

◆ ngcppCiSys

ngcpp_cmd_srv_api* ngcppCiSys = (ngcpp_cmd_srv_api *)NULL

Command server interface API

◆ ngcppCmdClients

int ngcppCmdClients = 0

Number of cmd clients

◆ ngcppCmdHost

char ngcppCmdHost[ngcppCI_MAX_CON][256]

Command client host info

◆ ngcppCmdPort

int ngcppCmdPort = 0

Command interpreter port number

◆ ngcppMaxComBufSize

int ngcppMaxComBufSize = ngcppMAX_COMBUFSIZE

Maximum command buffer size

◆ ngcppMaxRepBufSize

int ngcppMaxRepBufSize = ngcppMAX_COMBUFSIZE

Maximum reply buffer size

◆ ngcppUsrCmdHandler

ngcppEXT_CMD ngcppUsrCmdHandler = NULL

External user command handler