/common/home/bel/bella/lnx/exports/build/current/all/op-services/consmngr/srvr/consmngr.h File Reference

Definitions for consmngr. More...

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <libgen.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/inotify.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <signal.h>
#include <wait.h>
#include "ix_tools.h"
#include "isintf.h"
#include "rsintf.h"
#include "consintf.h"
#include "xcons.h"
#include "uv.h"
#include "xvalue.h"
#include "xfreader.h"
#include "ixf.h"
#include "vmssys.h"
#include "version.h"

Go to the source code of this file.

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)


Detailed Description

Definitions for consmngr.

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 .


Generated on 4 Mar 2014 for consmngr by  doxygen 1.4.7