ARPDAS_QNX6 1.0
|
#include "collect.h"
Go to the source code of this file.
Classes | |
struct | cmd_state |
class | cmdif_rd |
class | cmdif_wr |
class | cmdif_dgdata |
Defines | |
#define | CMDREP_QUIT 1000 |
#define | CMDREP_SYNERR 2000 |
#define | CMDREP_EXECERR 3000 |
#define | CMDREP_TYPE(x) ((x)/1000) |
#define | IOFUNC_ATTR_T struct ioattr_s |
#define | CMDSRVR_NAME "cmd/server" |
#define | CMD_INTERP_MAX 256 |
#define | CMD_VERSION_MAX 80 |
Functions | |
void | cmd_init (void) |
void | cmd_interact (void) |
int | cmd_batch (char *cmd, int test) |
void | cmd_report (cmd_state *s) |
int | cmd_check (cmd_state *s) |
void | cis_initialize (void) |
void | cis_terminate (void) |
void | cis_interfaces (void) |
void | cis_interfaces_close (void) |
IOFUNC_ATTR_T * | cis_setup_rdr (char *node) |
void | cis_turf (IOFUNC_ATTR_T *handle, char *format,...) |
void | ci_server (void) |
#define CMD_INTERP_MAX 256 |
Definition at line 38 of file cmdalgo.h.
Referenced by ci_sendfcmd(), and cic_transmit().
#define CMDREP_EXECERR 3000 |
Definition at line 29 of file cmdalgo.h.
Referenced by ci_sendcmd().
#define CMDREP_QUIT 1000 |
Definition at line 27 of file cmdalgo.h.
Referenced by ci_sendcmd().
#define CMDREP_SYNERR 2000 |
Definition at line 28 of file cmdalgo.h.
Referenced by ci_sendcmd(), io_write(), and read_a_cmd().
#define CMDREP_TYPE | ( | x | ) | ((x)/1000) |
Definition at line 30 of file cmdalgo.h.
Referenced by io_write().
#define CMDSRVR_NAME "cmd/server" |
Definition at line 37 of file cmdalgo.h.
Referenced by ci_server(), and cic_init().
void ci_server | ( | void | ) |
Definition at line 176 of file cis.c.
References all_closed(), cis_initialize(), cis_interfaces(), CMDSRVR_NAME, connect_funcs, dpp, io_close_ocb(), io_notify(), io_read(), io_write(), mountpoint, nl_error, nl_strdup, quit_received, rd_io_funcs, resmgr_attr, tm_dev_name(), wr_attr, wr_id, and wr_io_funcs.
void cis_initialize | ( | void | ) |
Definition at line 8 of file cis_stubs.c.
Referenced by ci_server().
void cis_interfaces | ( | void | ) |
Definition at line 10 of file cis_stubs.c.
Referenced by ci_server().
void cis_interfaces_close | ( | void | ) |
Definition at line 11 of file cis_stubs.c.
Referenced by process_quit().
IOFUNC_ATTR_T* cis_setup_rdr | ( | char * | node | ) |
Definition at line 83 of file cis.c.
References ioattr_s::attr, connect_funcs, dpp, ioattr_s::first_cmd, rdrs_s::id, ioattr_s::last_cmd, mountpoint, new_command(), new_memory(), rdrs_s::next, ioattr_s::next, nl_error, nl_strdup, ioattr_s::nodename, ioattr_s::notify, rd_attrs, rd_io_funcs, rdrs_s::rdr, rdrs, resmgr_attr, and tm_dev_name().
Referenced by cmdif_rd::Setup().
void cis_terminate | ( | void | ) |
Definition at line 9 of file cis_stubs.c.
void cis_turf | ( | IOFUNC_ATTR_T * | handle, |
char * | format, | ||
... | |||
) |
Definition at line 491 of file cis.c.
References assert, CMD_MAX_COMMAND_OUT, command_out_s::cmdlen, command_out_s::command, IOFUNC_OCB_T, new_command(), command_out_s::next, ocb::next_ocb, nl_error, and read_reply().
Referenced by process_quit().
int cmd_batch | ( | char * | cmd, |
int | test | ||
) |
Definition at line 12 of file cis_stubs.c.
Referenced by io_write().
int cmd_check | ( | cmd_state * | s | ) |
Definition at line 21 of file cis_stubs.c.
Referenced by cic_transmit().
void cmd_init | ( | void | ) |
Definition at line 17 of file cis_stubs.c.
Referenced by io_write().
void cmd_interact | ( | void | ) |
void cmd_report | ( | cmd_state * | s | ) |
Definition at line 18 of file cis_stubs.c.
Referenced by cic_transmit().