|
Classes |
struct | cmd_t |
struct | msg_t |
struct | listener_t |
struct | runlevel_t |
struct | console_t |
struct | gl_data |
Defines |
#define | IX_V_INIT 0x02 |
#define | IX_V_CMD 0x04 |
#define | IX_V_WATCH 0x08 |
#define | IX_V_NOTIFY 0x20 |
#define | IX_V_XFER 0x40 |
#define | IX_V_TIMER 0x80 |
#define | IX_V_MSG 0x100 |
#define | IX_V_RUNLEVEL 0x200 |
#define | IX_V_DEBUG 0x400 |
#define | MAX_SERVICES 8 |
#define | CMD_MAX 256 |
#define | PROC_MAX 256 |
#define | LISTENER_MAX 32 |
#define | CMD_LEN_MAX 4096 |
#define | CONS_GUI "consgui" |
#define | CONS_PROG "KONS.sh" |
#define | BEAMLINEID "beamlineid" |
#define | BEAMLINEKEY "BEAMLINE_KEY" |
#define | CONS_USER "opcons" |
#define | CONS_WAIT_PROC "zdisup" |
#define | CONS_PATH "/common/usr/develop/operating/log" |
#define | CONFIG_ENV "BELA_CONFIGDIR" |
Enumerations |
enum | cons_type_e { EXEC_START,
EXEC_REMOVE
} |
Functions |
cmd_t * | cmd_new_proc (char *proc, char *cmdstr, int opt, int type, int runlevel, int fd[3]) |
cmd_t * | cmd_new_xms (xcons_cmd_t *pc, xf_t *pxf, int type) |
void | cmd_free (cmd_t *p) |
int | kick_update_listener (void) |
int | cancel_runlevel_timer (void) |
int | kick_handle_runlevel (void) |
int | kick_kill_timer (void) |
int | init_set (xcons_init_t *pinit) |
int | set_proc_env (char *proc) |
int | restart_proc (cmd_t *pcmd) |
int | add_uv_proc (cmd_t *proc) |
int | rm_uv_proc (cmd_t *proc) |
int | set_uv_proc (cmd_t *proc) |
int | add_proc (cmd_t *proc, int update_flag) |
int | exec_proc (cmd_t *proc) |
int | start_proc (char *proc) |
int | kill_proc (char *proc) |
int | rm_proc (char *proc) |
int | runlevel_proc (int min, int max) |
int | running_proc (char *proc) |
void | handle_runlevel (int timeout_f) |
int | quit_proc (int mode) |
int | is_inlist_proc (char *proc) |
int | _kill_proc (cmd_t *proc, int signal) |
int | check_proc (char *proc) |
int | check_proc_list (void) |
int | check_kill_list (void) |
int | init_proc_list (xcons_init_t *pdef) |
int | update_listener (void) |
int | rm_listener (xf_t *pxf) |
int | add_listener (xcons_subscribe_t *psub, xf_t *pxf) |
int | proc_request (xcons_request_t *preq, xf_t *pxf) |
This header is not public. Here the controlling parameters of interest are defined and what variables you have to set to enable your client to connect to rsrvr
.