#include "indiapi.h"
#include "indidevapi.h"
#include "lilxml.h"
#include <errno.h>
#include <math.h>
#include <netdb.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
◆ INDIPORT
#define INDIPORT 7624 /* default port */ |
◆ TIMEOUT
#define TIMEOUT 2 /* default timeout, secs */ |
◆ allOperandsSet()
◆ compileExpr()
int compileExpr |
( |
char * |
expr, |
|
|
char * |
errmsg |
|
) |
| |
◆ compileINDI()
static void compileINDI |
( |
char * |
expr | ) |
|
|
static |
◆ devcmp()
static int devcmp |
( |
char * |
op1, |
|
|
char * |
op2 |
|
) |
| |
|
static |
◆ evalExpr()
int evalExpr |
( |
double * |
vp, |
|
|
char * |
errmsg |
|
) |
| |
◆ getAllOperands()
int getAllOperands |
( |
char *** |
ops | ) |
|
◆ getProps()
static void getProps |
( |
FILE * |
fp | ) |
|
|
static |
◆ getSetOperands()
int getSetOperands |
( |
char *** |
ops | ) |
|
◆ getUnsetOperands()
int getUnsetOperands |
( |
char *** |
ops | ) |
|
◆ initProps()
static void initProps |
( |
FILE * |
fp | ) |
|
|
static |
◆ main()
int main |
( |
int |
ac, |
|
|
char * |
av[] |
|
) |
| |
◆ nxtEle()
static XMLEle * nxtEle |
( |
FILE * |
fp | ) |
|
|
static |
◆ onAlarm()
static void onAlarm |
( |
int |
dummy | ) |
|
|
static |
◆ openINDIServer()
static FILE * openINDIServer |
( |
void |
| ) |
|
|
static |
◆ pstatestr()
static int pstatestr |
( |
char * |
state | ) |
|
|
static |
◆ readServerChar()
static int readServerChar |
( |
FILE * |
fp | ) |
|
|
static |
◆ runEval()
static int runEval |
( |
FILE * |
fp | ) |
|
|
static |
◆ setOp()
static int setOp |
( |
XMLEle * |
root | ) |
|
|
static |
◆ setOperand()
int setOperand |
( |
char * |
name, |
|
|
double |
valu |
|
) |
| |
◆ timestampINDI()
static time_t timestampINDI |
( |
char * |
ts | ) |
|
|
static |
◆ usage()
static void usage |
( |
void |
| ) |
|
|
static |
◆ bflag
◆ directfd
◆ eflag
◆ fflag
◆ host
◆ host_def
char host_def[] = "localhost" |
|
static |
◆ iflag
◆ lillp
◆ me
◆ oflag
◆ port
◆ timeout
◆ verbose
◆ wflag