Open CASCADE Technology 6.6.0
Data Structures | Defines | Typedefs
IncludeLibrary_comand.h File Reference

Data Structures

struct  _buf_acp
struct  _cmd_buff
struct  _buf
struct  _buf_rsp

Defines

#define BUFFER_SIZE   BUF_CMD_SIZ_BYT
#define SIZE_CMD_BUFF   BUFFER_SIZE - 7 * sizeof(short)
#define GETSEQ_HDR(H)   (0x03030303 & (H))
#define GETLGR_HDR(H)   ((H) >> 2 & 0x3f | (H) >> 4 & 0xfc0)
#define GETNARG_HDR(H)   GETLGR_HDR(H)
#define GETLVL_HDR(H)   ((H) >> 18 & 0x3f | (H) >> 20 & 0xfc0)
#define MAKE_HDR(S, LVL, X)
#define COD_CMD_CTL   -6
#define COD_CMD_CNX   -5
#define COD_CMD_EXI   -4
#define COD_CMD_ASS   -3
#define COD_CMD_ASN   -2
#define COD_CMD_DEA   -1
#define COD_CMD_DAS   0
#define COD_CTL_PRT   0
#define COD_CTL_RESTART   1
#define COD_CTL_ACT_RESTART   2
#define COD_CTL_STOP   3
#define COD_CTL_CPU   4
#define COD_CTL_ERRMSG   5
#define COD_CTL_DYNLOAD   6
#define COD_CTL_STARTLOAD   7
#define COD_CTL_ETHADR   8
#define COD_CTL_DYNNOLOAD   9
#define COD_CTL_STARTNOLOAD   10
#define LG_CMD_SRV   12
#define LG_CMD_CNX   112
#define LG_CMD_ASS   112
#define LG_CMD_DEA   12
#define LG_CMD_EXI   12
#define LG_CMD_CTL   20
#define LG_RSP_SRV   20
#define LG_RSP_CNX   20
#define LG_RSP_ASS   20
#define LG_RSP_DEA   20
#define LG_RSP_EXI   20
#define LG_RSP_CTL   20
#define LG_NOD   16
#define HOSTNAMELEN   256
#define LG_TSK   80
#define LG_USR   16
#define LG_PID   8
#define LG_PID_DEC   4
#define LG_PTC   4
#define LVL_VAL0   0x1
#define LVL_VAL   0x2
#define LVL_WRT_VAL   0x3
#define SEQ_BYT_VAL   0x03020100
#define MSK_SEQ_BYT   0x03030303
#define MSK_SEQ_BYT_VAL   0xFCFCFCFC

Typedefs

typedef struct _buf_acp BUF_ACP
typedef struct _buf_acpPBUF_ACP
typedef struct _cmd_buff CMD_BUFF
typedef struct _cmd_buffPCMD_BUFF
typedef struct _buf BUF
typedef struct _bufPBUF
typedef struct _buf_rsp BUF_RSP
typedef struct _buf_rspPBUF_RSP

Define Documentation

#define BUFFER_SIZE   BUF_CMD_SIZ_BYT
#define COD_CMD_ASN   -2
#define COD_CMD_ASS   -3
#define COD_CMD_CNX   -5
#define COD_CMD_CTL   -6
#define COD_CMD_DAS   0
#define COD_CMD_DEA   -1
#define COD_CMD_EXI   -4
#define COD_CTL_ACT_RESTART   2
#define COD_CTL_CPU   4
#define COD_CTL_DYNLOAD   6
#define COD_CTL_DYNNOLOAD   9
#define COD_CTL_ERRMSG   5
#define COD_CTL_ETHADR   8
#define COD_CTL_PRT   0
#define COD_CTL_RESTART   1
#define COD_CTL_STARTLOAD   7
#define COD_CTL_STARTNOLOAD   10
#define COD_CTL_STOP   3
#define GETLGR_HDR (   H)    ((H) >> 2 & 0x3f | (H) >> 4 & 0xfc0)
#define GETLVL_HDR (   H)    ((H) >> 18 & 0x3f | (H) >> 20 & 0xfc0)
#define GETNARG_HDR (   H)    GETLGR_HDR(H)
#define GETSEQ_HDR (   H)    (0x03030303 & (H))
#define HOSTNAMELEN   256
#define LG_CMD_ASS   112
#define LG_CMD_CNX   112
#define LG_CMD_CTL   20
#define LG_CMD_DEA   12
#define LG_CMD_EXI   12
#define LG_CMD_SRV   12
#define LG_NOD   16
#define LG_PID   8
#define LG_PID_DEC   4
#define LG_PTC   4
#define LG_RSP_ASS   20
#define LG_RSP_CNX   20
#define LG_RSP_CTL   20
#define LG_RSP_DEA   20
#define LG_RSP_EXI   20
#define LG_RSP_SRV   20
#define LG_TSK   80
#define LG_USR   16
#define LVL_VAL   0x2
#define LVL_VAL0   0x1
#define LVL_WRT_VAL   0x3
#define MAKE_HDR (   S,
  LVL,
 
)
Value:
((S) \
                         | (X) << 2 & 0xfc | (X) << 4 & 0xfc00 \
                         | (LVL) << 18 & 0xfc0000 | (LVL) << 20 & 0xfc000000)
#define MSK_SEQ_BYT   0x03030303
#define MSK_SEQ_BYT_VAL   0xFCFCFCFC
#define SEQ_BYT_VAL   0x03020100
#define SIZE_CMD_BUFF   BUFFER_SIZE - 7 * sizeof(short)

Typedef Documentation

typedef struct _buf BUF
typedef struct _buf_acp BUF_ACP
typedef struct _buf_rsp BUF_RSP
typedef struct _cmd_buff CMD_BUFF
typedef struct _buf * PBUF
typedef struct _buf_acp * PBUF_ACP
typedef struct _buf_rsp * PBUF_RSP
typedef struct _cmd_buff * PCMD_BUFF
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines