📄 mms_mv.h
字号:
/************************************************************************//* SISCO SOFTWARE MODULE HEADER *****************************************//************************************************************************//* (c) Copyright Systems Integration Specialists Company, Inc., *//* 1986 - 1997, All Rights Reserved. *//* *//* MODULE NAME : mms_mv.h *//* PRODUCT(S) : MMSEASE *//* *//* MODULE DESCRIPTION : *//* This module contains data and function definitions associated *//* with the MMS virtual machine operations. *//* *//* MODIFICATION LOG : *//* Date Who Rev Comments *//* -------- --- ------ ------------------------------------------- *//* 07/02/98 NAV 02 Move struct journal definition to mms_vjou.h *//* 08/14/97 RKR 01 Format changes *//* 04/02/97 DTL 7.00 MMSEASE 7.0 release. See MODL70.DOC for *//* history. *//************************************************************************/#ifndef MMS_MV_INCLUDED#define MMS_MV_INCLUDED#ifdef __cplusplusextern "C" {#endif#include "gen_list.h"#include "mms_mp.h"/************************************************************************//* Definitions used by the VM for handling indications and confirmations*//************************************************************************/#define MINTR_IND_UNCLAIM 0#define MINTR_IND_CLAIM 1#define MINTR_CONF_UNCLAIM 0#define MINTR_CONF_CLAIM 1#define MINTR_CONF_DONE 2#define MINTR_CHAN_OK 0#define MINTR_CHAN_DISCONNECTED 1/************************************************************************//* The function below is used to clear the MV request information *//* This function MUST be called after mv_xxxx requests have been *//* completed (u_mv_xxxx_conf called), to release resources. *//************************************************************************/ST_VOID ms_clr_mvreq (MMSREQ_PEND *req);/************************************************************************//* MMS OBJECT HANDLING *//************************************************************************//* This structure is used to track objects associated with domains and *//* the VMD and AA-specific objects. *//************************************************************************/struct domain_objs { struct named_var *var_list; /* named variable list */ struct named_var_list *var_list_list; /* variable list list */ struct named_type *type_list; /* named type list */ struct scat_acc *scat_acc_list; /* scattered access list*/ struct sem *sem_list; /* semaphore list */ struct event_cond *ev_cond_list; /* event condition list */ struct event_action *ev_act_list; /* event action list */ struct journal *jour_list; /* journal list */ /* The following elements used instead of var_list & var_list_list */ /* if binary search used instead of linked lists. */ ST_INT num_named_var; ST_INT max_named_var; struct named_var **named_var_array; /* array of ptrs to structs */ ST_INT num_nvlist; ST_INT max_nvlist; struct named_var_list **nvlist_array; /* array of ptrs to structs */ ST_CHAR rsrvd[8]; /* MMSEASE reserved */ };typedef struct domain_objs DOMAIN_OBJS;/************************************************************************//* General structure used to find named objects *//************************************************************************/struct named_ident { DBL_LNK link; /* generic list links */ ST_CHAR name[MAX_IDENT_LEN+1]; /* name of identifier */ };typedef struct named_ident NAMED_IDENT;/************************************************************************//* General Function To Find Named Objects *//************************************************************************/struct named_ident *ms_find_named_ident (NAMED_IDENT *list, ST_CHAR *name);/************************************************************************//* General Function To Locate Domain Objects *//* Takes Object Name structure and Channel number *//************************************************************************/struct domain_objs *ms_find_dom_objs (OBJECT_NAME *obj, ST_INT chan);/************************************************************************//* Named Domains *//* This structure is used to keep track of named domains *//************************************************************************/struct named_dom_ctrl { DBL_LNK link; /* generic list links */ ST_CHAR dom_name[MAX_IDENT_LEN+1];/* name of domain */ ST_UCHAR protection; /* protection attribute */ ST_BOOLEAN deletable; /* MMS delete attribute */ ST_BOOLEAN sharable; /* shareable attribute */ ST_INT state; /* domain state attrib. */ ST_INT8 upl_in_prog; /* upload in progress */ ST_INT32 octet_pos; /* position of download */ ST_INT npi; /* # of prog inv's refr this dom*/ ST_CHAR reserved[4]; /* MMS-EASE reserved */ ST_CHAR user_rsrvd[8]; /* user reserved */ ST_CHAR *dom_content; /* some ptr to dom cntnt */ DOMAIN_OBJS objs; /* dom-spec object ctrl */ ST_BOOLEAN dl_detail_pres; /* download detail present */ ST_INT dl_detail_len; /* download detail ptr & len */ ST_UCHAR *dl_detail; /* ptr to additional detail */ ST_INT num_of_capab; /* number of capabilities *//* list of capabilities *//* ST_CHAR *capab_list [num_of_capab]; */ SD_END_STRUCT };typedef struct named_dom_ctrl NAMED_DOM_CTRL;extern ST_INT max_mmsease_doms; /* max number allowed */extern ST_INT mms_dom_count; /* number currently defined *//************************************************************************//************************************************************************//* Resolve all undefined structures *//************************************************************************/struct scat_acc { struct scat_acc *next; };struct sem { struct sem *next; };struct event_cond { struct event_cond *next; };struct event_action { struct event_action *next; };#ifdef __cplusplus}#endif#endif /* MMS_MV_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -