📄 mms_vcon.h
字号:
/************************************************************************//* SISCO SOFTWARE MODULE HEADER *****************************************//************************************************************************//* (c) Copyright Systems Integration Specialists Company, Inc., *//* 1986 - 1997, All Rights Reserved. *//* *//* MODULE NAME : mms_vcon.h *//* PRODUCT(S) : MMSEASE *//* *//* MODULE DESCRIPTION : *//* This module contains data and function definitions associated *//* with the MMS virtual machine context management operations. *//* *//* MODIFICATION LOG : *//* Date Who Rev Comments *//* -------- --- ------ ------------------------------------------- *//* 12/10/97 MDE 04 Changed m_max_nest to ST_INT8 *//* 08/04/97 MDE 03 Changed xxx_blk_size vars to signed *//* 07/16/97 MDE 02 Comments and format *//* 05/21/97 MDE 01 Added 'ms_reset_init_param' *//* 04/02/97 DTL 7.00 MMSEASE 7.0 release. See MODL70.DOC for *//* history. *//************************************************************************/#ifndef MMS_VCON_INCLUDED#define MMS_VCON_INCLUDED#ifdef __cplusplusextern "C" {#endif/************************************************************************//************************************************************************//* INITIATE PARAMETERS *//************************************************************************//* Preferred channel-specific variables. These variables may be *//* modified by the user before initiating or responding to Initiate *//* requests using virtual machine functions, if desired. *//************************************************************************/extern ST_INT16 m_version; /* version(s) to use */extern ST_INT32 m_segsize; /* max segment size */extern ST_INT16 m_maxpend_req; /* max requests outstanding */extern ST_INT16 m_maxpend_ind; /* max indications outstanding */extern ST_INT8 m_max_nest; /* max data nesting */extern ST_INT m_file_blk_size; /* file block size */extern ST_INT m_download_blk_size; /* download block size *//* These bitstrings are located in mmsop_en.c and indicate which *//* services and CBB's are supported by this application. */extern ST_UCHAR m_param[2]; /* parameter support */ /* services supported as responder */extern ST_UCHAR m_service_resp[11];/* This function moves the parameters above into the appropriate *//* parameters in the mms_chan_info[chan] structure. This should be *//* normally be done after connection termination. */ST_VOID ms_reset_init_param (ST_INT chan);/************************************************************************//* Virtual Machine functions for handling INITIATE *//************************************************************************/MMSREQ_PEND *mv_init (ST_INT chan,ST_CHAR *info);ST_RET mv_init_resp (MMSREQ_IND *ind);MMSREQ_PEND *mv_initiate (ST_INT chan,ST_CHAR *ar, INIT_INFO *info);ST_RET mv_initiate_resp (MMSREQ_IND *ind,INIT_INFO *info);ST_VOID mv_chk_init_resp_param (MMSREQ_IND *ind,INIT_INFO *info);/************************************************************************//* CANCEL *//************************************************************************//* This function will handle a CANCEL indication for the user. If the *//* operation to be canceled is in the active indication list, the user *//* can call mv_cancel_resp; if it is in the pending queue or does not *//* exist, mms_case_serve automatically takes care of it. *//************************************************************************/ST_RET mv_cancel_resp (MMSREQ_IND *ind, ST_BOOLEAN success);#ifdef __cplusplus}#endif#endif /* #define MMS_VCON_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -