Instrument Neutral Distributed Interface INDI 2.2.5
evalINDI.c File Reference
#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>

Go to the source code of this file.

Macros

#define _GNU_SOURCE
#define INDIPORT   7624 /* default port */
#define TIMEOUT   2 /* default timeout, secs */

Functions

int compileExpr (char *expr, char *errmsg)
int evalExpr (double *vp, char *errmsg)
int allOperandsSet ()
int getAllOperands (char ***ops)
int getSetOperands (char ***ops)
int getUnsetOperands (char ***ops)
int setOperand (char *name, double valu)
int main (int ac, char *av[])

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 13 of file evalINDI.c.

◆ INDIPORT

#define INDIPORT   7624 /* default port */

Definition at line 57 of file evalINDI.c.

◆ TIMEOUT

#define TIMEOUT   2 /* default timeout, secs */

Definition at line 59 of file evalINDI.c.

Function Documentation

◆ allOperandsSet()

int allOperandsSet ( )
extern

Definition at line 186 of file compiler.c.

◆ compileExpr()

int compileExpr ( char * expr,
char * errmsg )
extern

Definition at line 127 of file compiler.c.

◆ evalExpr()

int evalExpr ( double * vp,
char * errmsg )
extern

Definition at line 157 of file compiler.c.

◆ getAllOperands()

int getAllOperands ( char *** ops)
extern

Definition at line 199 of file compiler.c.

◆ getSetOperands()

int getSetOperands ( char *** ops)
extern

Definition at line 214 of file compiler.c.

◆ getUnsetOperands()

int getUnsetOperands ( char *** ops)
extern

Definition at line 230 of file compiler.c.

◆ main()

int main ( int ac,
char * av[] )

Definition at line 71 of file evalINDI.c.

◆ setOperand()

int setOperand ( char * name,
double valu )
extern

Definition at line 168 of file compiler.c.