CUBRID Engine  latest
util_service.c File Reference
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>
#include <sys/wait.h>
#include "porting.h"
#include "utility.h"
#include "error_code.h"
#include "error_manager.h"
#include "system_parameter.h"
#include "connection_cl.h"
#include "util_func.h"
#include "util_support.h"
#include "environment_variable.h"
#include "release_string.h"
#include "dynamic_array.h"
#include "heartbeat.h"

Go to the source code of this file.

Classes

struct  UTIL_SERVICE_OPTION_MAP_T
 
struct  UTIL_SERVICE_PROPERTY_T
 

Macros

#define UTIL_TYPE_SERVICE   "service"
 
#define UTIL_TYPE_SERVER   "server"
 
#define UTIL_TYPE_BROKER   "broker"
 
#define UTIL_TYPE_MANAGER   "manager"
 
#define UTIL_TYPE_HEARTBEAT   "heartbeat"
 
#define UTIL_TYPE_HB_SHORT   "hb"
 
#define UTIL_TYPE_JAVASP   "javasp"
 
#define COMMAND_TYPE_START   "start"
 
#define COMMAND_TYPE_STOP   "stop"
 
#define COMMAND_TYPE_RESTART   "restart"
 
#define COMMAND_TYPE_STATUS   "status"
 
#define COMMAND_TYPE_DEREG   "deregister"
 
#define COMMAND_TYPE_LIST   "list"
 
#define COMMAND_TYPE_RELOAD   "reload"
 
#define COMMAND_TYPE_ON   "on"
 
#define COMMAND_TYPE_OFF   "off"
 
#define COMMAND_TYPE_ACL   "acl"
 
#define COMMAND_TYPE_RESET   "reset"
 
#define COMMAND_TYPE_INFO   "info"
 
#define COMMAND_TYPE_COPYLOGDB   "copylogdb"
 
#define COMMAND_TYPE_APPLYLOGDB   "applylogdb"
 
#define COMMAND_TYPE_GETID   "getid"
 
#define COMMAND_TYPE_TEST   "test"
 
#define COMMAND_TYPE_REPLICATION   "replication"
 
#define COMMAND_TYPE_REPLICATION_SHORT   "repl"
 
#define US_HB_DEREG_WAIT_TIME_IN_SEC   100
 

Enumerations

enum  UTIL_SERVICE_INDEX_E {
  SERVICE = 0, SERVER = 1, BROKER = 2, MANAGER = 3,
  HEARTBEAT = 4, UTIL_HELP = 6, UTIL_VERSION = 7, ADMIN = 8,
  JAVASP_UTIL = 20
}
 
enum  UTIL_SERVICE_COMMAND_E {
  START, STOP, RESTART, STATUS,
  DEREGISTER, LIST, RELOAD, ON,
  OFF, ACCESS_CONTROL, RESET, INFO,
  SC_COPYLOGDB, SC_APPLYLOGDB, GET_SHARID, TEST,
  REPLICATION
}
 
enum  UTIL_SERVICE_PROPERTY_E {
  SERVICE_START_SERVER, SERVICE_START_BROKER, SERVICE_START_MANAGER, SERVER_START_LIST,
  SERVICE_START_HEARTBEAT, SERVICE_START_JAVASP, JAVASP_START_LIST
}
 
enum  UTIL_ALL_SERVICES_STATUS { ALL_SERVICES_RUNNING, ALL_SERVICES_STOPPED }
 
enum  UTIL_MANAGER_SERVER_STATUS_E { MANAGER_SERVER_RUNNING = 0, MANAGER_SERVER_STOPPED, MANAGER_SERVER_STATUS_ERROR }
 
enum  UTIL_JAVASP_SERVER_STATUS_E { JAVASP_SERVER_RUNNING = 0, JAVASP_SERVER_STOPPED, JAVASP_SERVER_STATUS_ERROR }
 

Functions

static int util_get_service_option_mask (int util_type)
 
static int util_get_command_option_mask (int command_type)
 
static void util_service_usage (int util_type)
 
static void util_service_version (const char *argv0)
 
static int load_properties (void)
 
static void finalize_properties (void)
 
static const char * get_property (int property_type)
 
static int parse_arg (UTIL_SERVICE_OPTION_MAP_T *option, const char *arg)
 
static int process_service (int command_type, bool process_window_service)
 
static int process_server (int command_type, int argc, char **argv, bool show_usage, bool check_ha_mode, bool process_window_service)
 
static int process_broker (int command_type, int argc, const char **argv, bool process_window_service)
 
static int process_manager (int command_type, bool process_window_service)
 
static int process_javasp (int command_type, int argc, const char **argv, bool process_window_service)
 
static int process_javasp_start (const char *db_name, bool process_window_service)
 
static int process_javasp_stop (const char *db_name, bool process_window_service)
 
static int process_javasp_status (const char *db_name)
 
static int process_heartbeat (int command_type, int argc, const char **argv)
 
static int process_heartbeat_start (HA_CONF *ha_conf, int argc, const char **argv)
 
static int process_heartbeat_stop (HA_CONF *ha_conf, int argc, const char **argv)
 
static int process_heartbeat_deregister (int argc, const char **argv)
 
static int process_heartbeat_status (int argc, const char **argv)
 
static int process_heartbeat_reload (int argc, const char **argv)
 
static int process_heartbeat_util (HA_CONF *ha_conf, int command_type, int argc, const char **argv)
 
static int process_heartbeat_replication (HA_CONF *ha_conf, int argc, const char **argv)
 
static int proc_execute_internal (const char *file, const char *args[], bool wait_child, bool close_output, bool close_err, bool hide_cmd_args, int *pid)
 
static int proc_execute (const char *file, const char *args[], bool wait_child, bool close_output, bool close_err, int *pid)
 
static int proc_execute_hide_cmd_args (const char *file, const char *args[], bool wait_child, bool close_output, bool close_err, int *pid)
 
static void hide_cmd_line_args (char **args)
 
static int process_master (int command_type)
 
static void print_message (FILE *output, int message_id,...)
 
static void print_result (const char *util_name, int status, int command_type)
 
static bool is_terminated_process (const int pid)
 
static char * make_exec_abspath (char *buf, int buf_len, char *cmd)
 
static const char * command_string (int command_type)
 
static bool is_server_running (const char *type, const char *server_name, int pid)
 
static int is_broker_running (void)
 
static UTIL_MANAGER_SERVER_STATUS_E is_manager_running (unsigned int sleep_time)
 
static UTIL_JAVASP_SERVER_STATUS_E is_javasp_running (const char *server_name)
 
static bool are_all_services_running (unsigned int sleep_time, bool check_win_service)
 
static bool are_all_services_stopped (unsigned int sleep_time, bool check_win_service)
 
static bool check_all_services_status (unsigned int sleep_time, UTIL_ALL_SERVICES_STATUS expected_status, bool check_win_service)
 
static bool ha_make_mem_size (char *mem_size, int size, int value)
 
static bool ha_is_registered (const char *args, const char *hostname)
 
static int us_hb_copylogdb_start (dynamic_array *out_ap, HA_CONF *ha_conf, const char *db_name, const char *node_name, const char *remote_host)
 
static int us_hb_copylogdb_stop (HA_CONF *ha_conf, const char *db_name, const char *node_name, const char *remote_host)
 
static int us_hb_applylogdb_start (dynamic_array *out_ap, HA_CONF *ha_conf, const char *db_name, const char *node_name, const char *remote_host)
 
static int us_hb_applylogdb_stop (HA_CONF *ha_conf, const char *db_name, const char *node_name, const char *remote_host)
 
static int us_hb_server_start (HA_CONF *ha_conf, const char *db_name)
 
static int us_hb_server_stop (HA_CONF *ha_conf, const char *db_name)
 
static int us_hb_process_start (HA_CONF *ha_conf, const char *db_name, bool check_result)
 
static int us_hb_process_stop (HA_CONF *ha_conf, const char *db_name)
 
static int us_hb_process_copylogdb (int command_type, HA_CONF *ha_conf, const char *db_name, const char *node_name, const char *remote_host)
 
static int us_hb_process_applylogdb (int command_type, HA_CONF *ha_conf, const char *db_name, const char *node_name, const char *remote_host)
 
static int us_hb_stop_get_options (char *db_name, int db_name_size, char *host_name, int host_name_size, bool *immediate_stop, int argc, const char **argv)
 
static int us_hb_status_get_options (bool *verbose, char *remote_host_name, int remote_host_name_size, int argc, const char **argv)
 
static int us_hb_util_get_options (char *db_name, int db_name_size, char *node_name, int node_name_size, char *remote_host_name, int remote_host_name_size, int argc, const char **argv)
 
static int process_admin (int argc, char **argv)
 
int main (int argc, char *argv[])
 
static bool check_server (const char *type, const char *server_name)
 
static bool ha_make_log_path (char *path, int size, char *base, char *db, char *node)
 
static bool ha_concat_db_and_host (char *db_host, int size, const char *db, const char *host)
 
static bool ha_mkdir (const char *path, mode_t mode)
 
static int ha_argv_to_args (char *args, int size, const char **argv, HB_PROC_TYPE type)
 
static int us_hb_deactivate (const char *hostname, bool immediate_stop)
 

Variables

static UTIL_SERVICE_OPTION_MAP_T us_Service_map []
 
static UTIL_SERVICE_OPTION_MAP_T us_Command_map []
 
static UTIL_SERVICE_PROPERTY_T us_Property_map []
 
static const char ** Argv
 
static int ha_mode_in_common
 

Macro Definition Documentation

#define COMMAND_TYPE_ACL   "acl"

Definition at line 207 of file util_service.c.

Referenced by process_broker().

#define COMMAND_TYPE_APPLYLOGDB   "applylogdb"

Definition at line 211 of file util_service.c.

#define COMMAND_TYPE_COPYLOGDB   "copylogdb"

Definition at line 210 of file util_service.c.

#define COMMAND_TYPE_DEREG   "deregister"

Definition at line 202 of file util_service.c.

#define COMMAND_TYPE_GETID   "getid"

Definition at line 212 of file util_service.c.

#define COMMAND_TYPE_INFO   "info"

Definition at line 209 of file util_service.c.

Referenced by process_broker().

#define COMMAND_TYPE_LIST   "list"

Definition at line 203 of file util_service.c.

#define COMMAND_TYPE_OFF   "off"

Definition at line 206 of file util_service.c.

Referenced by process_broker().

#define COMMAND_TYPE_ON   "on"

Definition at line 205 of file util_service.c.

Referenced by process_broker().

#define COMMAND_TYPE_RELOAD   "reload"

Definition at line 204 of file util_service.c.

#define COMMAND_TYPE_REPLICATION   "replication"

Definition at line 214 of file util_service.c.

#define COMMAND_TYPE_REPLICATION_SHORT   "repl"

Definition at line 215 of file util_service.c.

#define COMMAND_TYPE_RESET   "reset"

Definition at line 208 of file util_service.c.

Referenced by process_broker().

#define COMMAND_TYPE_RESTART   "restart"

Definition at line 200 of file util_service.c.

#define COMMAND_TYPE_START   "start"
#define COMMAND_TYPE_STATUS   "status"

Definition at line 201 of file util_service.c.

Referenced by process_javasp_status().

#define COMMAND_TYPE_STOP   "stop"
#define COMMAND_TYPE_TEST   "test"

Definition at line 213 of file util_service.c.

#define US_HB_DEREG_WAIT_TIME_IN_SEC   100

Definition at line 346 of file util_service.c.

Referenced by us_hb_applylogdb_stop(), and us_hb_copylogdb_stop().

#define UTIL_TYPE_BROKER   "broker"

Definition at line 140 of file util_service.c.

Referenced by load_properties().

#define UTIL_TYPE_HB_SHORT   "hb"

Definition at line 143 of file util_service.c.

#define UTIL_TYPE_HEARTBEAT   "heartbeat"

Definition at line 142 of file util_service.c.

Referenced by load_properties().

#define UTIL_TYPE_JAVASP   "javasp"

Definition at line 144 of file util_service.c.

Referenced by load_properties().

#define UTIL_TYPE_MANAGER   "manager"

Definition at line 141 of file util_service.c.

Referenced by load_properties().

#define UTIL_TYPE_SERVER   "server"

Definition at line 139 of file util_service.c.

Referenced by load_properties().

#define UTIL_TYPE_SERVICE   "service"

Definition at line 138 of file util_service.c.

Enumeration Type Documentation

Enumerator
ALL_SERVICES_RUNNING 
ALL_SERVICES_STOPPED 

Definition at line 105 of file util_service.c.

Enumerator
JAVASP_SERVER_RUNNING 
JAVASP_SERVER_STOPPED 
JAVASP_SERVER_STATUS_ERROR 

Definition at line 118 of file util_service.c.

Enumerator
MANAGER_SERVER_RUNNING 
MANAGER_SERVER_STOPPED 
MANAGER_SERVER_STATUS_ERROR 

Definition at line 111 of file util_service.c.

Enumerator
START 
STOP 
RESTART 
STATUS 
DEREGISTER 
LIST 
RELOAD 
ON 
OFF 
ACCESS_CONTROL 
RESET 
INFO 
SC_COPYLOGDB 
SC_APPLYLOGDB 
GET_SHARID 
TEST 
REPLICATION 

Definition at line 73 of file util_service.c.

Enumerator
SERVICE 
SERVER 
BROKER 
MANAGER 
HEARTBEAT 
UTIL_HELP 
UTIL_VERSION 
ADMIN 
JAVASP_UTIL 

Definition at line 60 of file util_service.c.

Enumerator
SERVICE_START_SERVER 
SERVICE_START_BROKER 
SERVICE_START_MANAGER 
SERVER_START_LIST 
SERVICE_START_HEARTBEAT 
SERVICE_START_JAVASP 
JAVASP_START_LIST 

Definition at line 94 of file util_service.c.

Function Documentation

static bool are_all_services_running ( unsigned int  sleep_time,
bool  check_win_service 
)
static

Definition at line 1110 of file util_service.c.

References ALL_SERVICES_RUNNING, and check_all_services_status().

Referenced by process_service().

Here is the caller graph for this function:

static bool are_all_services_stopped ( unsigned int  sleep_time,
bool  check_win_service 
)
static

Definition at line 1125 of file util_service.c.

References ALL_SERVICES_STOPPED, and check_all_services_status().

Referenced by process_service().

Here is the caller graph for this function:

static bool check_server ( const char *  type,
const char *  server_name 
)
static

Definition at line 1454 of file util_service.c.

References CHECK_HA_SERVER, CHECK_SERVER, COMMDB_ALL_STATUS, input(), make_exec_abspath(), NULL, and UTIL_COMMDB_NAME.

Referenced by is_server_running().

Here is the caller graph for this function:

static void finalize_properties ( void  )
static

Definition at line 4807 of file util_service.c.

References free_and_init, i, NULL, and UTIL_SERVICE_PROPERTY_T::property_index.

Referenced by main().

Here is the caller graph for this function:

static const char * get_property ( int  property_type)
static

Definition at line 4830 of file util_service.c.

References UTIL_SERVICE_PROPERTY_T::property_value.

Referenced by check_all_services_status(), and process_service().

Here is the caller graph for this function:

static int ha_argv_to_args ( char *  args,
int  size,
const char **  argv,
HB_PROC_TYPE  type 
)
static

Definition at line 2694 of file util_service.c.

References assert, ER_GENERIC_ERROR, HB_PTYPE_APPLYLOGDB, HB_PTYPE_COPYLOGDB, and NO_ERROR.

Referenced by us_hb_applylogdb_start(), us_hb_applylogdb_stop(), us_hb_copylogdb_start(), and us_hb_copylogdb_stop().

Here is the caller graph for this function:

static bool ha_concat_db_and_host ( char *  db_host,
int  size,
const char *  db,
const char *  host 
)
static

Definition at line 2610 of file util_service.c.

References ha_mkdir().

Referenced by us_hb_applylogdb_start(), us_hb_applylogdb_stop(), us_hb_copylogdb_start(), and us_hb_copylogdb_stop().

Here is the caller graph for this function:

static bool ha_is_registered ( const char *  args,
const char *  hostname 
)
static
static bool ha_make_log_path ( char *  path,
int  size,
char *  base,
char *  db,
char *  node 
)
static

Definition at line 2604 of file util_service.c.

Referenced by us_hb_applylogdb_start(), us_hb_applylogdb_stop(), us_hb_copylogdb_start(), and us_hb_copylogdb_stop().

Here is the caller graph for this function:

static bool ha_make_mem_size ( char *  mem_size,
int  size,
int  value 
)
static

Definition at line 2655 of file util_service.c.

Referenced by us_hb_applylogdb_start(), and us_hb_applylogdb_stop().

Here is the caller graph for this function:

static bool ha_mkdir ( const char *  path,
mode_t  mode 
)
static

Definition at line 2623 of file util_service.c.

References cub_dirname_r().

Referenced by ha_concat_db_and_host(), and us_hb_copylogdb_start().

Here is the caller graph for this function:

static void hide_cmd_line_args ( char **  args)
static

Definition at line 955 of file util_service.c.

References assert, i, NULL, and strlen.

Referenced by proc_execute_internal().

Here is the caller graph for this function:

static int is_broker_running ( void  )
static

Definition at line 1846 of file util_service.c.

References NULL, proc_execute(), and UTIL_MONITOR_NAME.

Referenced by check_all_services_status(), and process_broker().

Here is the caller graph for this function:

static UTIL_JAVASP_SERVER_STATUS_E is_javasp_running ( const char *  server_name)
static
static UTIL_MANAGER_SERVER_STATUS_E is_manager_running ( unsigned int  sleep_time)
static

Definition at line 2191 of file util_service.c.

References envvar_bindir_file(), input(), MANAGER_SERVER_RUNNING, MANAGER_SERVER_STATUS_ERROR, MANAGER_SERVER_STOPPED, NULL, and UTIL_CUB_MANAGER_NAME.

Referenced by check_all_services_status(), and process_manager().

Here is the caller graph for this function:

static bool is_server_running ( const char *  type,
const char *  server_name,
int  pid 
)
static

Definition at line 1511 of file util_service.c.

References check_server(), css_does_master_exist(), is_terminated_process(), and prm_get_master_port_id().

Referenced by check_all_services_status(), process_server(), us_hb_server_start(), and us_hb_server_stop().

Here is the caller graph for this function:

static bool is_terminated_process ( const int  pid)
static

Definition at line 4841 of file util_service.c.

References FALSE, and NULL.

Referenced by is_server_running(), process_javasp_start(), process_master(), us_hb_process_applylogdb(), us_hb_process_copylogdb(), and us_hb_process_start().

Here is the caller graph for this function:

static char * make_exec_abspath ( char *  buf,
int  buf_len,
char *  cmd 
)
static

Definition at line 350 of file util_service.c.

References envvar_bindir_file().

Referenced by check_server(), and process_master().

Here is the caller graph for this function:

static int parse_arg ( UTIL_SERVICE_OPTION_MAP_T option,
const char *  arg 
)
static

Definition at line 4691 of file util_service.c.

References ER_GENERIC_ERROR, i, NULL, and UTIL_SERVICE_OPTION_MAP_T::option_type.

Referenced by main(), process_heartbeat_replication(), and process_heartbeat_util().

Here is the caller graph for this function:

static int proc_execute_hide_cmd_args ( const char *  file,
const char *  args[],
bool  wait_child,
bool  close_output,
bool  close_err,
int *  pid 
)
static

Definition at line 762 of file util_service.c.

References envvar_bindir_file(), ER_FAILED, executable_path, i, NO_ERROR, NULL, proc_execute_internal(), strlen, and TRUE.

Referenced by process_admin().

Here is the caller graph for this function:

static int proc_execute_internal ( const char *  file,
const char *  args[],
bool  wait_child,
bool  close_output,
bool  close_err,
bool  hide_cmd_args,
int *  pid 
)
static

Definition at line 856 of file util_service.c.

References envvar_bindir_file(), ER_GENERIC_ERROR, executable_path, hide_cmd_line_args(), NO_ERROR, and pid.

Referenced by proc_execute(), and proc_execute_hide_cmd_args().

Here is the caller graph for this function:

static int process_admin ( int  argc,
char **  argv 
)
static

Definition at line 447 of file util_service.c.

References argc, ER_GENERIC_ERROR, NULL, proc_execute_hide_cmd_args(), and UTIL_ADMIN_NAME.

Referenced by main().

Here is the caller graph for this function:

static int process_javasp ( int  command_type,
int  argc,
const char **  argv,
bool  process_window_service 
)
static
static int process_javasp_stop ( const char *  db_name,
bool  process_window_service 
)
static
static int us_hb_deactivate ( const char *  hostname,
bool  immediate_stop 
)
static
static int us_hb_process_applylogdb ( int  command_type,
HA_CONF ha_conf,
const char *  db_name,
const char *  node_name,
const char *  remote_host 
)
static
static int us_hb_process_copylogdb ( int  command_type,
HA_CONF ha_conf,
const char *  db_name,
const char *  node_name,
const char *  remote_host 
)
static
static int us_hb_process_start ( HA_CONF ha_conf,
const char *  db_name,
bool  check_result 
)
static
static int us_hb_process_stop ( HA_CONF ha_conf,
const char *  db_name 
)
static
static int us_hb_server_stop ( HA_CONF ha_conf,
const char *  db_name 
)
static
static int us_hb_status_get_options ( bool verbose,
char *  remote_host_name,
int  remote_host_name_size,
int  argc,
const char **  argv 
)
static
static int us_hb_stop_get_options ( char *  db_name,
int  db_name_size,
char *  host_name,
int  host_name_size,
bool immediate_stop,
int  argc,
const char **  argv 
)
static
static int us_hb_util_get_options ( char *  db_name,
int  db_name_size,
char *  node_name,
int  node_name_size,
char *  remote_host_name,
int  remote_host_name_size,
int  argc,
const char **  argv 
)
static
static int util_get_command_option_mask ( int  command_type)
static

Definition at line 495 of file util_service.c.

References i, UTIL_SERVICE_OPTION_MAP_T::option_mask, and UTIL_SERVICE_OPTION_MAP_T::option_type.

Referenced by main().

Here is the caller graph for this function:

static int util_get_service_option_mask ( int  util_type)
static

Definition at line 474 of file util_service.c.

References ADMIN, assert, i, UTIL_SERVICE_OPTION_MAP_T::option_mask, and UTIL_SERVICE_OPTION_MAP_T::option_type.

Referenced by main().

Here is the caller graph for this function:

static void util_service_usage ( int  util_type)
static

Definition at line 712 of file util_service.c.

References Argv, basename(), MSGCAT_UTIL_GENERIC_CUBRID_USAGE, and print_message().

Referenced by main(), process_broker(), process_javasp(), and process_server().

Here is the caller graph for this function:

static void util_service_version ( const char *  argv0)
static

Definition at line 737 of file util_service.c.

References basename(), MSGCAT_UTIL_GENERIC_VERSION, print_message(), rel_copy_version_string(), and REL_MAX_VERSION_LENGTH.

Referenced by main().

Here is the caller graph for this function:

Variable Documentation

const char** Argv
static

Definition at line 250 of file util_service.c.

Referenced by main(), and util_service_usage().

int ha_mode_in_common
static

Definition at line 251 of file util_service.c.

Referenced by main(), and process_heartbeat().

UTIL_SERVICE_OPTION_MAP_T us_Command_map[]
static
Initial value:
= {
{STOP, COMMAND_TYPE_STOP, MASK_ALL},
{LIST, COMMAND_TYPE_LIST, MASK_HEARTBEAT},
{RELOAD, COMMAND_TYPE_RELOAD, MASK_HEARTBEAT},
{OFF, COMMAND_TYPE_OFF, MASK_BROKER},
{RESET, COMMAND_TYPE_RESET, MASK_BROKER},
{INFO, COMMAND_TYPE_INFO, MASK_BROKER},
{GET_SHARID, COMMAND_TYPE_GETID, MASK_BROKER},
{TEST, COMMAND_TYPE_TEST, MASK_BROKER},
{-1, "", MASK_ALL}
}
#define COMMAND_TYPE_STATUS
Definition: util_service.c:201
#define COMMAND_TYPE_RESTART
Definition: util_service.c:200
#define COMMAND_TYPE_ACL
Definition: util_service.c:207
#define COMMAND_TYPE_DEREG
Definition: util_service.c:202
#define COMMAND_TYPE_REPLICATION
Definition: util_service.c:214
#define COMMAND_TYPE_REPLICATION_SHORT
Definition: util_service.c:215
#define COMMAND_TYPE_LIST
Definition: util_service.c:203
#define MASK_ALL
Definition: utility.h:905
#define COMMAND_TYPE_START
Definition: util_service.c:198
#define COMMAND_TYPE_INFO
Definition: util_service.c:209
#define MASK_SERVER
Definition: utility.h:907
#define COMMAND_TYPE_STOP
Definition: util_service.c:199
#define COMMAND_TYPE_COPYLOGDB
Definition: util_service.c:210
#define MASK_JAVASP
Definition: utility.h:912
#define MASK_BROKER
Definition: utility.h:908
#define COMMAND_TYPE_RELOAD
Definition: util_service.c:204
#define COMMAND_TYPE_TEST
Definition: util_service.c:213
#define MASK_SERVICE
Definition: utility.h:906
#define COMMAND_TYPE_OFF
Definition: util_service.c:206
#define MASK_HEARTBEAT
Definition: utility.h:911
#define COMMAND_TYPE_GETID
Definition: util_service.c:212
#define COMMAND_TYPE_APPLYLOGDB
Definition: util_service.c:211
#define COMMAND_TYPE_ON
Definition: util_service.c:205
#define COMMAND_TYPE_RESET
Definition: util_service.c:208

Definition at line 217 of file util_service.c.

UTIL_SERVICE_OPTION_MAP_T us_Service_map[]
static

Definition at line 146 of file util_service.c.