AdaptiveOpticsControl
CLIcore.h File Reference

Command line interface. More...

Go to the source code of this file.

Data Structures

struct  CMD
 
struct  MODULE
 
struct  CMDARGTOKEN
 
struct  VARIABLE
 
struct  DATA
 

Functions

int CLI_checkarg (int argnum, int argtype)
 
int CLI_checkarg_noerrmsg (int argnum, int argtype)
 
void sig_handler (int signo)
 signal catching More...
 
uint_fast16_t RegisterCLIcommand (char *CLIkey, char *CLImodule, int_fast8_t(*CLIfptr)(), char *CLIinfo, char *CLIsyntax, char *CLIexample, char *CLICcall)
 

Variables

pid_t CLIPID
 important directories and info More...
 
char DocDir [200]
 
char SrcDir [200]
 
char BuildFile [200]
 
char BuildDate [200]
 
char BuildTime [200]
 
int C_ERRNO
 
uid_t euid_real
 
uid_t euid_called
 
uid_t suid
 
uint8_t TYPESIZE [32]
 

Detailed Description

Command line interface.

Command line interface (CLI) definitions and function prototypes

Author
O. Guyon
Date
9 Jul 2017
Bug:
No known bugs.

Function Documentation

int CLI_checkarg ( int  argnum,
int  argtype 
)
int CLI_checkarg_noerrmsg ( int  argnum,
int  argtype 
)
uint_fast16_t RegisterCLIcommand ( char *  CLIkey,
char *  CLImodule,
int_fast8_t(*)()  CLIfptr,
char *  CLIinfo,
char *  CLIsyntax,
char *  CLIexample,
char *  CLICcall 
)
void sig_handler ( int  signo)

signal catching

Variable Documentation

char BuildDate[200]
char BuildFile[200]
char BuildTime[200]
int C_ERRNO
pid_t CLIPID

important directories and info

char DocDir[200]
uid_t euid_called
uid_t euid_real
char SrcDir[200]
uid_t suid
uint8_t TYPESIZE[32]