Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

src/jni/gc.cpp File Reference

#include "common.h"
#include "net_threebit_jvr_gc.h"
#include "net_threebit_jvr_GC_0005fPARM_0005fBLK.h"

Go to the source code of this file.

Defines

#define GC_THROW_ARGS   e,__FILE__,__LINE__
#define GC_THROW   GC_THROW_MSG(__FILE__,__LINE__,NULL)
#define GC_THROW_MSG(file, line, errmsg)
#define JVR_GCPARMBLK_SIZE   200

Functions

void gc_throw (JNIEnv *e, const char *file, int line, const char *format,...)
JNIEXPORT void JNICALL Java_net_threebit_jvr_GC_1PARM_1BLK_allocateNative (JNIEnv *e, jobject o)
JNIEXPORT void JNICALL Java_net_threebit_jvr_GC_1PARM_1BLK_releaseNative (JNIEnv *e, jobject o)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Start (JNIEnv *e, jclass c, jobject jgcss)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Stop (JNIEnv *e, jclass c)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_CCLibStatusEx (JNIEnv *e, jclass c, jstring jcclib_name, jobject jstatus)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_OpenEx (JNIEnv *e, jclass c, jstring jdevName, jint mode, jobject userAttr)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Close (JNIEnv *e, jclass c, jlong linedev)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetMetaEventEx (JNIEnv *e, jclass c, jlong eventHandle)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetMetaEvent (JNIEnv *e, jclass c)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_ResetLineDev (JNIEnv *e, jclass c, jlong linedev, jlong mode)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_MakeCall (JNIEnv *e, jclass c, jlong linedev, jstring jnumber, jobject jmakecall, jint timeout, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_DropCall (JNIEnv *e, jclass c, jlong crn, jint cause, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_ReleaseCallEx (JNIEnv *e, jclass c, jlong crn, jlong mode)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetCallInfo (JNIEnv *e, jclass c, jlong crn, jint infoId)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Listen (JNIEnv *e, jclass c, jlong linedev, jobject jtsinfo, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_UnListen (JNIEnv *e, jclass c, jlong linedev, jlong mode)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_WaitCall (JNIEnv *e, jclass c, jlong linedev, jint timeout, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_AnswerCall (JNIEnv *e, jclass c, jlong crn, jint rings, jlong mode)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_CRN2LineDev (JNIEnv *e, jclass c, jlong crn)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_AttachResource (JNIEnv *e, jclass c, jlong linedev, jint resourceH, jobject resourceAttr, jobject returnAttr, jint resourceType, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Detach (JNIEnv *e, jclass c, jlong linedev, jint voiceH, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetCallState (JNIEnv *e, jclass c, jlong crn)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetXmitSlot (JNIEnv *e, jclass c, jlong linedev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetResourceH (JNIEnv *e, jclass c, jlong linedev, jint type)
JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetCTInfo (JNIEnv *e, jclass c, jlong linedev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetChanState (JNIEnv *e, jclass c, jlong linedev, jint state, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_LoadDxParm (JNIEnv *e, jclass c, jlong linedev, jstring jfilename)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_CallAck (JNIEnv *e, jclass c, jlong crn, jobject jcallack, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetVoiceH (JNIEnv *e, jclass c, jlong linedev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetInfoElem (JNIEnv *e, jclass c, jint targetType, jlong targetId, jobject jieblk, jint duration)
JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_SetConfigData (JNIEnv *e, jclass c, jint targetType, jlong targetId, jobject jgcparmblk, jint timeout, jint updateCond, jlong mode)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_util_1insert_1parm_1val (JNIEnv *e, jclass c, jobject jgcparmblk, jint setId, jint parmId, jint size, jlong data)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetCallingNum (JNIEnv *e, jclass c, jlong linedev, jstring jnumber)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetNetworkH (JNIEnv *e, jclass c, jlong linedev)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetParm (JNIEnv *e, jclass c, jlong linedev, jint parmId, jobject jgcparm)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetCallProgressParm (JNIEnv *e, jclass c, jlong linedev, jobject jdxcap)
JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_AcceptCall (JNIEnv *e, jclass c, jlong crn, jint rings, jlong mode)

Variables

GC_PARM_BLKP jvr_gcparmblk_buff [JVR_GCPARMBLK_SIZE]
int jvr_gcparmblk_alloc [JVR_GCPARMBLK_SIZE]
int jvr_gcparmblk_ready = 0


Define Documentation

#define GC_THROW   GC_THROW_MSG(__FILE__,__LINE__,NULL)
 

Definition at line 38 of file gc.cpp.

Referenced by Java_net_threebit_jvr_gc_AcceptCall(), Java_net_threebit_jvr_gc_AnswerCall(), Java_net_threebit_jvr_gc_CallAck(), Java_net_threebit_jvr_gc_CCLibStatusEx(), Java_net_threebit_jvr_gc_Close(), Java_net_threebit_jvr_gc_CRN2LineDev(), Java_net_threebit_jvr_gc_Detach(), Java_net_threebit_jvr_gc_DropCall(), Java_net_threebit_jvr_gc_GetCallInfo(), Java_net_threebit_jvr_gc_GetCallState(), Java_net_threebit_jvr_gc_GetCTInfo(), Java_net_threebit_jvr_gc_GetMetaEvent(), Java_net_threebit_jvr_gc_GetMetaEventEx(), Java_net_threebit_jvr_gc_GetNetworkH(), Java_net_threebit_jvr_gc_GetResourceH(), Java_net_threebit_jvr_gc_GetVoiceH(), Java_net_threebit_jvr_gc_GetXmitSlot(), Java_net_threebit_jvr_gc_Listen(), Java_net_threebit_jvr_gc_MakeCall(), Java_net_threebit_jvr_gc_OpenEx(), Java_net_threebit_jvr_gc_ReleaseCallEx(), Java_net_threebit_jvr_gc_ResetLineDev(), Java_net_threebit_jvr_gc_SetCallingNum(), Java_net_threebit_jvr_gc_SetCallProgressParm(), Java_net_threebit_jvr_gc_SetChanState(), Java_net_threebit_jvr_gc_SetConfigData(), Java_net_threebit_jvr_gc_SetInfoElem(), Java_net_threebit_jvr_gc_SetParm(), Java_net_threebit_jvr_gc_Start(), Java_net_threebit_jvr_gc_Stop(), Java_net_threebit_jvr_gc_UnListen(), Java_net_threebit_jvr_gc_util_1insert_1parm_1val(), and Java_net_threebit_jvr_gc_WaitCall().

#define GC_THROW_ARGS   e,__FILE__,__LINE__
 

Definition at line 36 of file gc.cpp.

Referenced by Java_net_threebit_jvr_gc_AttachResource().

#define GC_THROW_MSG file,
line,
errmsg   ) 
 

Value:

{ \
  char *msg = errmsg; \
  GC_INFO gcInfo; \
  int gc_ErrorInfo_ret = gc_ErrorInfo(&gcInfo); \
  if (gc_ErrorInfo_ret == GC_SUCCESS) { \
    jclass clazz = gc_info_class; \
    jmethodID method = e->GetMethodID(clazz,"<init>","()V"); \
    jobject jgcInfo = e->NewObject(clazz,method); \
    if (jvr_convert_gcinfo_n2j(e,jgcInfo,&gcInfo) == -1) { \
      printf("Failure occurred inside GC_THROW (%s:%d)",file,line); \
    } \
    else { \
      clazz = gcexception_class; \
      if (msg == NULL) { \
        jmethodID method = e->GetMethodID(clazz,"<init>","(Ljava/lang/String;ILnet/threebit/jvr/GC_INFO;)V"); \
        jobject exception = e->NewObject(clazz,method,e->NewStringUTF(file),line,jgcInfo); \
        e->Throw((jthrowable) exception); \
      } \
      else { \
        jmethodID method = e->GetMethodID(clazz,"<init>","(Ljava/lang/String;Ljava/lang/String;ILnet/threebit/jvr/GC_INFO;)V"); \
        jobject exception = e->NewObject(clazz,method,e->NewStringUTF(msg),e->NewStringUTF(file),line,jgcInfo); \
        e->Throw((jthrowable) exception); \
      } \
    } \
  } \
  else { \
    jvr_throw(JVR_THROW_DG,"gc_ErrorInfo() failed."); \
  } \
}

Definition at line 40 of file gc.cpp.

Referenced by gc_throw(), and Java_net_threebit_jvr_gc_LoadDxParm().

#define JVR_GCPARMBLK_SIZE   200
 

Debugging: Not for export. void print_gc_cclib_status() { int cclibid; int gc_error; long cc_error; char *msg; int cclibidp; int i; char str[100], str1[100]; GC_CCLIB_STATUSALL cclib_status_all; if (gc_CCLibStatusEx ("GC_ALL_LIB", &cclib_status_all) != GC_SUCCESS) { gc_ErrorValue (&gc_error, &cclibid, &cc_error); gc_ResultMsg (LIBID_GC, (long) gc_error, &msg); printf ("%s:%d %d - %s\n", __FILE__, __LINE__,gc_error,msg); exit (1); } strcpy (str, "Call Control Library Status:\n"); for (i = 0; i < GC_TOTAL_CCLIBS; i++) { if (gc_CCLibNameToID(cclib_status_all.cclib_state[i].name,&cclibidp) != GC_SUCCESS) { gc_ErrorValue (&gc_error, &cclibid, &cc_error); gc_ResultMsg (LIBID_GC, (long) gc_error, &msg); printf ("%s:%d %d - %s\n", __FILE__, __LINE__,gc_error,msg); exit (1); } switch (cclib_status_all.cclib_state[i].state) { case GC_CCLIB_CONFIGURED: printf("%s\t configured\t(id: %d)\n", cclib_status_all.cclib_state[i].name,cclibidp); break; case GC_CCLIB_AVAILABLE: printf("%s\t available\t(id: %d)\n", cclib_status_all.cclib_state[i].name,cclibidp); break; case GC_CCLIB_FAILED: printf("%s\t is not available for use\t(id: %d)\n", cclib_status_all.cclib_state[i].name,cclibidp); break; default: printf("%s\t unknown CCLIB status\n", cclib_status_all.cclib_state[i].name); break; } } }

Definition at line 137 of file gc.cpp.

Referenced by Java_net_threebit_jvr_GC_1PARM_1BLK_allocateNative().


Function Documentation

void gc_throw JNIEnv *  e,
const char *  file,
int  line,
const char *  format,
... 
 

GT_THROW but with printf() like arguments

Definition at line 74 of file gc.cpp.

References GC_THROW_MSG.

Referenced by Java_net_threebit_jvr_gc_AttachResource().

JNIEXPORT void JNICALL Java_net_threebit_jvr_GC_1PARM_1BLK_allocateNative JNIEnv *  e,
jobject  o
 

Definition at line 148 of file gc.cpp.

References gc_parm_blk_offset, JVR_ENTER, JVR_EXIT, jvr_gcparmblk_alloc, jvr_gcparmblk_buff, jvr_gcparmblk_ready, JVR_GCPARMBLK_SIZE, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT void JNICALL Java_net_threebit_jvr_GC_1PARM_1BLK_releaseNative JNIEnv *  e,
jobject  o
 

Definition at line 185 of file gc.cpp.

References gc_parm_blk_offset, JVR_ENTER, JVR_EXIT, jvr_gcparmblk_alloc, and jvr_gcparmblk_buff.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_AcceptCall JNIEnv *  e,
jclass  c,
jlong  crn,
jint  rings,
jlong  mode
 

Definition at line 1137 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_AnswerCall JNIEnv *  e,
jclass  c,
jlong  crn,
jint  rings,
jlong  mode
 

Definition at line 675 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_AttachResource JNIEnv *  e,
jclass  c,
jlong  linedev,
jint  resourceH,
jobject  resourceAttr,
jobject  returnAttr,
jint  resourceType,
jlong  mode
 

Definition at line 710 of file gc.cpp.

References gc_throw(), GC_THROW_ARGS, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_CallAck JNIEnv *  e,
jclass  c,
jlong  crn,
jobject  jcallack,
jlong  mode
 

Definition at line 895 of file gc.cpp.

References GC_THROW, jvr_convert_gccallackblk_j2n(), JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_CCLibStatusEx JNIEnv *  e,
jclass  c,
jstring  jcclib_name,
jobject  jstatus
 

Definition at line 305 of file gc.cpp.

References gc_cclib_state_class, gc_cclib_statusall_class, GC_THROW, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Close JNIEnv *  e,
jclass  c,
jlong  linedev
 

Definition at line 387 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_CRN2LineDev JNIEnv *  e,
jclass  c,
jlong  crn
 

Definition at line 690 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Detach JNIEnv *  e,
jclass  c,
jlong  linedev,
jint  voiceH,
jlong  mode
 

Definition at line 739 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_DropCall JNIEnv *  e,
jclass  c,
jlong  crn,
jint  cause,
jlong  mode
 

Definition at line 516 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetCallInfo JNIEnv *  e,
jclass  c,
jlong  crn,
jint  infoId
 

Definition at line 546 of file gc.cpp.

References GC_THROW, integer_class, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetCallState JNIEnv *  e,
jclass  c,
jlong  crn
 

Definition at line 754 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetCTInfo JNIEnv *  e,
jclass  c,
jlong  linedev
 

Definition at line 826 of file gc.cpp.

References ct_devinfo_class, GC_THROW, init(), jvr_convert_ctdevinfo_n2j(), JVR_ENTER, and JVR_EXIT.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetMetaEvent JNIEnv *  e,
jclass  c
 

Definition at line 443 of file gc.cpp.

References GC_THROW, jvr_convert_metaevent_n2j(), JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and metaevent_class.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetMetaEventEx JNIEnv *  e,
jclass  c,
jlong  eventHandle
 

Definition at line 402 of file gc.cpp.

References GC_THROW, jvr_convert_metaevent_n2j(), JVR_EELOG, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, metaevent_class, and metaevent_init.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetNetworkH JNIEnv *  e,
jclass  c,
jlong  linedev
 

Definition at line 1056 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetResourceH JNIEnv *  e,
jclass  c,
jlong  linedev,
jint  type
 

Definition at line 806 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_GetVoiceH JNIEnv *  e,
jclass  c,
jlong  linedev
 

Definition at line 921 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jobject JNICALL Java_net_threebit_jvr_gc_GetXmitSlot JNIEnv *  e,
jclass  c,
jlong  linedev
 

Definition at line 774 of file gc.cpp.

References GC_THROW, init(), jvr_convert_sctsinfo_n2j(), JVR_ENTER, JVR_EXIT, and sc_tsinfo_class.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Listen JNIEnv *  e,
jclass  c,
jlong  linedev,
jobject  jtsinfo,
jlong  mode
 

Definition at line 607 of file gc.cpp.

References GC_THROW, jvr_convert_sctsinfo_j2n(), JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_LoadDxParm JNIEnv *  e,
jclass  c,
jlong  linedev,
jstring  jfilename
 

Definition at line 869 of file gc.cpp.

References GC_THROW_MSG, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_MakeCall JNIEnv *  e,
jclass  c,
jlong  linedev,
jstring  jnumber,
jobject  jmakecall,
jint  timeout,
jlong  mode
 

Definition at line 488 of file gc.cpp.

References GC_THROW, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_OpenEx JNIEnv *  e,
jclass  c,
jstring  jdevName,
jint  mode,
jobject  userAttr
 

Definition at line 365 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_ReleaseCallEx JNIEnv *  e,
jclass  c,
jlong  crn,
jlong  mode
 

Definition at line 531 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_ResetLineDev JNIEnv *  e,
jclass  c,
jlong  linedev,
jlong  mode
 

Definition at line 473 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetCallingNum JNIEnv *  e,
jclass  c,
jlong  linedev,
jstring  jnumber
 

Definition at line 1035 of file gc.cpp.

References GC_THROW, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetCallProgressParm JNIEnv *  e,
jclass  c,
jlong  linedev,
jobject  jdxcap
 

Definition at line 1107 of file gc.cpp.

References GC_THROW, jvr_convert_dxcap_j2n(), JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetChanState JNIEnv *  e,
jclass  c,
jlong  linedev,
jint  state,
jlong  mode
 

Definition at line 854 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_SetConfigData JNIEnv *  e,
jclass  c,
jint  targetType,
jlong  targetId,
jobject  jgcparmblk,
jint  timeout,
jint  updateCond,
jlong  mode
 

Definition at line 978 of file gc.cpp.

References gc_parm_blk_offset, GC_THROW, JVR_ENTER, JVR_EXIT, and jvr_gcparmblk_buff.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetInfoElem JNIEnv *  e,
jclass  c,
jint  targetType,
jlong  targetId,
jobject  jieblk,
jint  duration
 

Definition at line 941 of file gc.cpp.

References GC_THROW, jvr_convert_ieblk_j2n(), JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_SetParm JNIEnv *  e,
jclass  c,
jlong  linedev,
jint  parmId,
jobject  jgcparm
 

Definition at line 1076 of file gc.cpp.

References GC_THROW, jvr_convert_gcparm_j2n(), JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Start JNIEnv *  e,
jclass  c,
jobject  jgcss
 

Definition at line 211 of file gc.cpp.

References cclib_start_struct_class, gc_start_struct_class, GC_THROW, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_Stop JNIEnv *  e,
jclass  c
 

Definition at line 290 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_UnListen JNIEnv *  e,
jclass  c,
jlong  linedev,
jlong  mode
 

Definition at line 630 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.

JNIEXPORT jint JNICALL Java_net_threebit_jvr_gc_util_1insert_1parm_1val JNIEnv *  e,
jclass  c,
jobject  jgcparmblk,
jint  setId,
jint  parmId,
jint  size,
jlong  data
 

Definition at line 1011 of file gc.cpp.

References gc_parm_blk_offset, GC_THROW, JVR_ENTER, JVR_EXIT, and jvr_gcparmblk_buff.

JNIEXPORT jlong JNICALL Java_net_threebit_jvr_gc_WaitCall JNIEnv *  e,
jclass  c,
jlong  linedev,
jint  timeout,
jlong  mode
 

Definition at line 645 of file gc.cpp.

References GC_THROW, JVR_ENTER, and JVR_EXIT.


Variable Documentation

int jvr_gcparmblk_alloc[JVR_GCPARMBLK_SIZE]
 

Definition at line 139 of file gc.cpp.

Referenced by Java_net_threebit_jvr_GC_1PARM_1BLK_allocateNative(), and Java_net_threebit_jvr_GC_1PARM_1BLK_releaseNative().

GC_PARM_BLKP jvr_gcparmblk_buff[JVR_GCPARMBLK_SIZE]
 

Definition at line 138 of file gc.cpp.

Referenced by Java_net_threebit_jvr_GC_1PARM_1BLK_allocateNative(), Java_net_threebit_jvr_GC_1PARM_1BLK_releaseNative(), Java_net_threebit_jvr_gc_SetConfigData(), and Java_net_threebit_jvr_gc_util_1insert_1parm_1val().

int jvr_gcparmblk_ready = 0
 

Definition at line 140 of file gc.cpp.

Referenced by Java_net_threebit_jvr_GC_1PARM_1BLK_allocateNative().


Generated on Sat Jul 16 03:47:35 2005 for JVR by doxygen 1.3.5