ARPDAS_QNX6 1.0
Classes | Defines | Functions
cmdalgo.h File Reference
#include "collect.h"
Include dependency graph for cmdalgo.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define CMD_INTERP_MAX   256

Definition at line 38 of file cmdalgo.h.

Referenced by ci_sendfcmd(), and cic_transmit().

#define CMD_VERSION_MAX   80

Definition at line 39 of file cmdalgo.h.

#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().

#define IOFUNC_ATTR_T   struct ioattr_s

Definition at line 33 of file cmdalgo.h.


Function Documentation

void ci_server ( void  )
void cis_initialize ( void  )

Definition at line 8 of file cis_stubs.c.

Referenced by ci_server().

Here is the caller graph for this function:

void cis_interfaces ( void  )

Definition at line 10 of file cis_stubs.c.

Referenced by ci_server().

Here is the caller graph for this function:

void cis_interfaces_close ( void  )

Definition at line 11 of file cis_stubs.c.

Referenced by process_quit().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int cmd_batch ( char *  cmd,
int  test 
)

Definition at line 12 of file cis_stubs.c.

Referenced by io_write().

Here is the caller graph for this function:

int cmd_check ( cmd_state s)

Definition at line 21 of file cis_stubs.c.

Referenced by cic_transmit().

Here is the caller graph for this function:

void cmd_init ( void  )

Definition at line 17 of file cis_stubs.c.

Referenced by io_write().

Here is the caller graph for this function:

void cmd_interact ( void  )
void cmd_report ( cmd_state s)

Definition at line 18 of file cis_stubs.c.

Referenced by cic_transmit().

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines