⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sbjsiinterface.h

📁 sloedgy open sip stack source code
💻 H
字号:
/*****************************************************************************
  *****************************************************************************
  *
  * $Id: SBjsiInterface.h,v 1.1 2007/06/04 16:10:49 joegenbaclor Exp $
  *
  * SBjsiInterface, definition of the real SBjsi resource object
  *
  * The SBjsiInterface object defines the SB implementation of a
  * VXIjsi resource that is used to provide JavaScript services to
  * a channel/thread.
  *
  *****************************************************************************
  ****************************************************************************/
 

 /****************License************************************************
  *
  * Copyright 2000-2003.  ScanSoft, Inc.    
  *
  * Use of this software is subject to notices and obligations set forth 
  * in the SpeechWorks Public License - Software Version 1.2 which is 
  * included with this software. 
  *
  * ScanSoft is a registered trademark of ScanSoft, Inc., and OpenSpeech, 
  * SpeechWorks and the SpeechWorks logo are registered trademarks or 
  * trademarks of SpeechWorks International, Inc. in the United States 
  * and other countries.
  *
  ***********************************************************************/
 

 /* -----1=0-------2=0-------3=0-------4=0-------5=0-------6=0-------7=0-------8
  */
 
 #ifndef _SBJSI_INTERFACE_H__
 #define _SBJSI_INTERFACE_H__
 
#include <vxibuildopts.h>
#if P_VXI

 #include "vxi/VXIjsi.h"            /* For VXIjsiInterface and VXIjsiResult codes */
 
 #ifdef __cplusplus
 class JsiRuntime;
 extern "C" {
 #else
 typedef struct JsiRuntime { void * dummy; } JsiRuntime;
 #endif
 
 struct VXIlogInterface;
 
 /* SBjsi interface, "inherits" from VXIjsiInterface */
 typedef struct SBjsiInterface
 {
   /* Base interface, must be the first member */
   VXIjsiInterface jsi;
 
   /* Context size in byts for each new context for this resource (currently
    * shared across the entire process) 
    */
   long contextSize;
 
   /* Maximum number of JavaScript branches for each JavaScript
    * evaluation for this resource (currently shared across the entire
    * process) 
    */
   long maxBranches;
 
   /* Logging interface for this resource */
   VXIlogInterface *log;
   
   /* Offset for diagnostic logging */
   VXIunsigned diagTagBase;
 
   /* JavaScript runtime environment for this resource */
   JsiRuntime *jsiRuntime;
 
 } SBjsiInterface;
 
 #ifdef __cplusplus
 }
 #endif
 
#endif

 #endif  /* _SBJSI_INTERFACE_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -