📄 mms_vprg.h
字号:
/************************************************************************//* SISCO SOFTWARE MODULE HEADER *****************************************//************************************************************************//* (c) Copyright Systems Integration Specialists Company, Inc., *//* 1986 - 1997, All Rights Reserved. *//* *//* MODULE NAME : mms_vprg.h *//* PRODUCT(S) : MMSEASE *//* *//* MODULE DESCRIPTION : *//* This module contains data and function definitions associated *//* with the MMS virtual machine program invocation operations. *//* *//* MODIFICATION LOG : *//* Date Who Rev Comments *//* -------- --- ------ ------------------------------------------- *//* 08/14/97 RKR 02 Format changes *//* 06/09/97 MDE 01 Moved PI state defines to mms_pprg.h *//* 04/02/97 DTL 7.00 MMSEASE 7.0 release. See MODL70.DOC for *//* history. *//************************************************************************/#ifndef MMS_VPRG_INCLUDED#define MMS_VPRG_INCLUDED#ifdef __cplusplusextern "C" {#endif#include "mms_mv.h"/************************************************************************//************************************************************************//* PROGRAM INVOCATIONS *//* Structure for keeping program invocations. *//************************************************************************/struct prog_inv { DBL_LNK link; /* link to other PI's in list */ ST_CHAR pi_name[MAX_IDENT_LEN + 1];/* name of PI */ ST_UCHAR protection; /* protection assigned to PI */ ST_INT state; /* current state of PI */ ST_BOOLEAN deletable; /* True if PI can be deleted */ /* from over network by DeletePI*/ ST_BOOLEAN reusable; /* SD_TRUE if PI can be reset and*/ /* started from beginning (dif- */ /* ferent from resuming) */ ST_BOOLEAN monitor; /* SD_TRUE if VM is to notify host*/ /* with EventNotification req */ /* when PI stops executing */ ST_UCHAR *start_arg; /* start argument of last Start */ /* request */ ST_INT start_len; /* len of start_arg (including */ /* null char) */ ST_INT ndom; /* number of domains in this PI */ ST_CHAR reserved[4]; /* reserved for MMS-EASE */ ST_CHAR user_rsrvd[8]; /* for use by application *//* NAMED_DOM_CTRL *dom_list[]; */ /* array of pointers to named_ */ /* dom_ctrl structures of */ /* domains in this PI */ SD_END_STRUCT };typedef struct prog_inv PROG_INV;/************************************************************************//* Global variables related to program invocations. *//************************************************************************/extern ST_INT mms_pi_count;extern ST_INT max_mmsease_pis;/************************************************************************//* Program invocation states. *//************************************************************************/struct prog_inv *ms_find_pi (ST_CHAR *piname);struct prog_inv *ms_add_pi (ST_CHAR *piname, ST_INT num_doms, ST_CHAR **doms, ST_UCHAR protection);ST_VOID ms_del_all_pis (PROG_INV *pi_list);ST_RET ms_del_pi (ST_CHAR *piname);ST_RET ms_change_pi_state (ST_CHAR *piname, ST_CHAR state);ST_RET ms_check_pi_state (ST_CHAR *piname, ST_INT op, ST_UCHAR priv);ST_RET mv_crepi_resp (MMSREQ_IND *ind, ST_RET err);ST_RET mv_delpi_resp (MMSREQ_IND *indptr, ST_RET err_reason, ST_BOOLEAN soft);ST_RET mv_start_resp (MMSREQ_IND *ind, ST_RET err);ST_RET mv_stop_resp (MMSREQ_IND *ind, ST_RET err);ST_RET mv_resume_resp (MMSREQ_IND *ind, ST_RET err);ST_RET mv_reset_resp (MMSREQ_IND *ind, ST_RET err);ST_RET mv_kill_resp (MMSREQ_IND *ind, ST_RET err);ST_RET mv_getpi_resp (MMSREQ_IND *ind, ST_RET err);#ifdef __cplusplus}#endif#endif /* #define MMS_VPRG_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -