#include "common.h"#include "net_threebit_jvr_jvr.h"#include "symbolput.cpp"Go to the source code of this file.
Defines | |
| #define | PUT_INT(k, v) (e->CallObjectMethod(map,putMethod,e->NewStringUTF(k), e->NewObject(intClass, intInit, v))) |
Functions | |
| void | jvr_throw (JNIEnv *e, const char *exceptionClass, const char *file, int line, const char *format,...) |
| void | jvr_log (JNIEnv *e, const char *file, int line, const char *format,...) |
| int | jvr_convert_sctsinfo_j2n (JNIEnv *e, jobject jtsinfo, SC_TSINFO *tsinfo) |
| int | jvr_convert_sctsinfo_n2j (JNIEnv *e, jobject jtsinfo, SC_TSINFO *tsinfo) |
| int | jvr_convert_dxcap_j2n (JNIEnv *e, jobject jdxcap, DX_CAP *dxcap) |
| int | jvr_convert_tngen_n2j (JNIEnv *e, jobject jtngen, TN_GEN *tngen) |
| int | jvr_convert_dvtpt_j2n (JNIEnv *e, jobjectArray jtptArray, DV_TPT *tpt) |
| int | jvr_convert_tngen_j2n (JNIEnv *e, jobject jtngen, TN_GEN *tngen) |
| int | jvr_convert_tngencad_j2n (JNIEnv *e, jobject jtngencad, TN_GENCAD *tngencad) |
| int | jvr_convert_dxxpb_j2n (JNIEnv *e, jobject jxpb, DX_XPB *xpb) |
| int | jvr_convert_dxiott_j2n (JNIEnv *e, jobjectArray jiottArray, DX_IOTT **iottp) |
| int | jvr_convert_mscdtarray_j2n (JNIEnv *e, jobjectArray jmscdtArray, MS_CDT *cdt, int *numParties) |
| int | jvr_convert_mscdtarray_n2j (JNIEnv *e, jobjectArray jmscdtArray, MS_CDT *cdt, int numParties) |
| int | jvr_convert_mscdt_n2j (JNIEnv *e, jobject jmscdt, MS_CDT *cdt) |
| int | jvr_convert_mscdt_j2n (JNIEnv *e, jobject jmscdt, MS_CDT *cdt) |
| int | jvr_convert_metaevent_n2j (JNIEnv *e, jobject jmeta, METAEVENT *meta) |
| jobject | jvr_convert_evtdatap_n2j (JNIEnv *e, long type, long len, void *datap, METAEVENT *meta) |
| int | jvr_convert_gcinfo_n2j (JNIEnv *e, jobject jgcInfo, GC_INFO *gcInfo) |
| int | jvr_convert_ctdevinfo_n2j (JNIEnv *e, jobject jdevinfo, CT_DEVINFO *devinfo) |
| int | jvr_convert_gccallackblk_j2n (JNIEnv *e, jobject jcallack, GC_CALLACK_BLK *callack) |
| int | jvr_convert_ieblk_j2n (JNIEnv *e, jobject jieblk, IE_BLK *ieblk) |
| int | jvr_convert_gcparm_j2n (JNIEnv *e, jobject jgcparm, GC_PARM *gcparm) |
| int | jvr_convert_intValue (JNIEnv *e, jobject intObject) |
| JNIEXPORT jobject JNICALL | Java_net_threebit_jvr_jvr_importSymbols (JNIEnv *e, jclass c) |
| JNIEXPORT void JNICALL | Java_net_threebit_jvr_jvr_initEventModel (JNIEnv *e, jclass c) |
| void | jvr_setdebuglevel (int level) |
| int | jvr_getdebuglevel () |
| JNIEXPORT void JNICALL | Java_net_threebit_jvr_jvr_setDebugLevel (JNIEnv *e, jclass c, jint level) |
| JNIEXPORT jint JNICALL | Java_net_threebit_jvr_jvr_getDebugLevel (JNIEnv *, jclass) |
| JNIEXPORT void JNICALL | Java_net_threebit_jvr_jvr_logNoise (JNIEnv *e, jclass c) |
| JavaVM * | jvr_getVM () |
Variables | |
| JavaVM * | vm |
| int | jvrDebugLevel = JVR_NONE |
| DX_IOTT | jvr_iott_buff [JVR_IOTT_SIZE] |
| int | jvr_iott_alloc [JVR_IOTT_SIZE] |
| int | jvr_iott_ready |
|
|
Definition at line 950 of file jvr.cpp. Referenced by Java_net_threebit_jvr_jvr_importSymbols(). |
|
||||||||||||
|
Definition at line 1061 of file jvr.cpp. References jvr_getdebuglevel(). |
|
||||||||||||
|
Definition at line 958 of file jvr.cpp. References hashmap_class, initializeJNIFields(), integer_class, JVR_ENTER, JVR_EXIT, and PUT_INT. |
|
||||||||||||
|
Definition at line 1001 of file jvr.cpp. References JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, and vm. |
|
||||||||||||
|
Definition at line 1071 of file jvr.cpp. References JVR_EELOG. |
|
||||||||||||||||
|
Definition at line 1051 of file jvr.cpp. References jvr_setdebuglevel(). |
|
||||||||||||||||
|
Definition at line 844 of file jvr.cpp. References ct_devinfo_class, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_gc_GetCTInfo(). |
|
||||||||||||||||
|
Convert from DV_TPT object to struct. The caller must guarantee that the size of (DV_TPT*) is at least JVR_MAX_DVTPT. Definition at line 357 of file jvr.cpp. References dv_tpt_class, JVR_DVTPT_MAXSIZE, JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and tpt. Referenced by Java_net_threebit_jvr_dx_getdig(), Java_net_threebit_jvr_dx_mreciottdata(), Java_net_threebit_jvr_dx_play(), Java_net_threebit_jvr_dx_playiottdata(), Java_net_threebit_jvr_dx_playtone(), Java_net_threebit_jvr_dx_playtoneEx(), Java_net_threebit_jvr_dx_playvox(), Java_net_threebit_jvr_dx_playwav(), Java_net_threebit_jvr_dx_rec(), Java_net_threebit_jvr_dx_recf(), Java_net_threebit_jvr_dx_reciottdata(), and Java_net_threebit_jvr_dx_recwav(). |
|
||||||||||||||||
|
Convert from net.threebit.jvr.DX_CAP to DX_CAP struct. Definition at line 196 of file jvr.cpp. References dx_cap_class, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_dx_dial(), and Java_net_threebit_jvr_gc_SetCallProgressParm(). |
|
||||||||||||||||
|
Definition at line 503 of file jvr.cpp. References dx_iott_class, JVR_ENTER, JVR_EXIT, jvr_iott_alloc, JVR_IOTT_SIZE, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_dx_mreciottdata(), Java_net_threebit_jvr_dx_play(), Java_net_threebit_jvr_dx_playiottdata(), Java_net_threebit_jvr_dx_rec(), and Java_net_threebit_jvr_dx_reciottdata(). |
|
||||||||||||||||
|
Definition at line 482 of file jvr.cpp. References dx_xpb_nSamplesPerSec, dx_xpb_wBitsPerSample, dx_xpb_wDataFormat, dx_xpb_wFileFormat, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_dx_mreciottdata(), Java_net_threebit_jvr_dx_playiottdata(), Java_net_threebit_jvr_dx_playvox(), Java_net_threebit_jvr_dx_reciottdata(), and Java_net_threebit_jvr_dx_recwav(). |
|
||||||||||||||||||||||||
|
Definition at line 743 of file jvr.cpp. References dx_cst_class, dx_cst_cst_data, dx_cst_cst_event, dx_cst_init, integer_class, integer_init, JVR_ENTER, JVR_EXIT, long_class, and long_init. Referenced by Java_net_threebit_jvr_sr_getevtdata__(), Java_net_threebit_jvr_sr_getevtdata__J(), and jvr_convert_metaevent_n2j(). |
|
||||||||||||||||
|
Definition at line 873 of file jvr.cpp. References gc_callack_blk_class, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_gc_CallAck(). |
|
||||||||||||||||
|
Definition at line 824 of file jvr.cpp. References gc_info_additionalInfo, gc_info_ccLibId, gc_info_ccLibName, gc_info_ccMsg, gc_info_ccValue, gc_info_gcMsg, gc_info_gcValue, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by jvr_convert_metaevent_n2j(). |
|
||||||||||||||||
|
Definition at line 918 of file jvr.cpp. References gc_parm_isString, gc_parm_nvalue, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_gc_SetParm(). |
|
||||||||||||||||
|
Definition at line 894 of file jvr.cpp. References ie_blk_data, ie_blk_length, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_gc_SetInfoElem(). |
|
||||||||||||
|
Definition at line 936 of file jvr.cpp. References integer_intvalue, JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_ms_setbrdparm(). |
|
||||||||||||||||
|
Definition at line 682 of file jvr.cpp. References gc_info_class, gc_info_init, jvr_convert_evtdatap_n2j(), jvr_convert_gcinfo_n2j(), JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_DG, JVR_THROW_JVR, metaevent_cclibid, metaevent_crn, metaevent_evtdata, metaevent_evtdev, metaevent_evtlen, metaevent_evttype, metaevent_flags, metaevent_gcInfo, metaevent_linedev, metaevent_magicno, and metaevent_rfu1. Referenced by Java_net_threebit_jvr_gc_GetMetaEvent(), and Java_net_threebit_jvr_gc_GetMetaEventEx(). |
|
||||||||||||||||
|
Definition at line 670 of file jvr.cpp. References JVR_ENTER, JVR_EXIT, ms_cdt_chan_attr, ms_cdt_chan_num, and ms_cdt_chan_sel. Referenced by Java_net_threebit_jvr_ms_addtoconf(), Java_net_threebit_jvr_ms_remfromconf(), Java_net_threebit_jvr_ms_setcde(), and jvr_convert_mscdtarray_j2n(). |
|
||||||||||||||||
|
Definition at line 653 of file jvr.cpp. References JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, ms_cdt_chan_attr, ms_cdt_chan_num, and ms_cdt_chan_sel. Referenced by Java_net_threebit_jvr_ms_addtoconf(), and jvr_convert_mscdtarray_n2j(). |
|
||||||||||||||||||||
|
Definition at line 597 of file jvr.cpp. References jvr_convert_mscdt_j2n(), JVR_ENTER, JVR_EXIT, JVR_MSCDT_MAXSIZE, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_ms_estconf(). |
|
||||||||||||||||||||
|
Definition at line 627 of file jvr.cpp. References jvr_convert_mscdt_n2j(), JVR_ENTER, JVR_EXIT, jvr_throw(), and JVR_THROW_JVR. Referenced by Java_net_threebit_jvr_ms_estconf(). |
|
||||||||||||||||
|
Convert net.threebit.jvr.SC_TSINFO to the SC_TSINFO struct. Return 0 on success, -1 on error (an exception will already have been thrown) Definition at line 123 of file jvr.cpp. References JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and sc_tsinfo_class. Referenced by Java_net_threebit_jvr_ag_listen(), Java_net_threebit_jvr_dt_listen(), Java_net_threebit_jvr_dx_listen(), Java_net_threebit_jvr_dx_mreciottdata(), Java_net_threebit_jvr_gc_Listen(), and Java_net_threebit_jvr_ms_listen(). |
|
||||||||||||||||
|
Convert from SC_TSINFO struct to net.threebit.jvr.SC_TSINFO; Definition at line 158 of file jvr.cpp. References init(), JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and sc_tsinfo_class. Referenced by Java_net_threebit_jvr_ag_getxmitslot(), Java_net_threebit_jvr_dt_getxmitslot(), Java_net_threebit_jvr_dx_getxmitslot(), Java_net_threebit_jvr_gc_GetXmitSlot(), and Java_net_threebit_jvr_ms_getxmitslot(). |
|
||||||||||||||||
|
Definition at line 415 of file jvr.cpp. References JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and tn_gen_class. Referenced by Java_net_threebit_jvr_dx_playtone(), and jvr_convert_tngencad_j2n(). |
|
||||||||||||||||
|
Convert from net.threebit.jvr.DX_CAP to DX_CAP struct. Definition at line 329 of file jvr.cpp. References JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and tn_gen_class. Referenced by Java_net_threebit_jvr_dx_bldtngen(). |
|
||||||||||||||||
|
Definition at line 443 of file jvr.cpp. References jvr_convert_tngen_j2n(), JVR_ENTER, JVR_EXIT, jvr_throw(), JVR_THROW_JVR, and tn_gencad_class. Referenced by Java_net_threebit_jvr_dx_playtoneEx(). |
|
|
Definition at line 1041 of file jvr.cpp. References jvrDebugLevel. Referenced by Java_net_threebit_jvr_jvr_getDebugLevel(). |
|
|
Definition at line 1078 of file jvr.cpp. References vm. Referenced by dx_uio_read(), dx_uio_seek(), and dx_uio_write(). |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 1034 of file jvr.cpp. References jvrDebugLevel. Referenced by Java_net_threebit_jvr_jvr_setDebugLevel(). |
|
||||||||||||||||||||||||||||
|
|
Definition at line 497 of file jvr.cpp. Referenced by Java_net_threebit_jvr_DX_1IOTT_allocate(), Java_net_threebit_jvr_DX_1IOTT_release(), and jvr_convert_dxiott_j2n(). |
|
|
Definition at line 496 of file jvr.cpp. Referenced by Java_net_threebit_jvr_DX_1IOTT_allocate(). |
|
|
Definition at line 498 of file jvr.cpp. Referenced by Java_net_threebit_jvr_DX_1IOTT_allocate(). |
|
|
Definition at line 28 of file jvr.cpp. Referenced by jvr_getdebuglevel(), and jvr_setdebuglevel(). |
|
|
Definition at line 25 of file jvr.cpp. Referenced by Java_net_threebit_jvr_jvr_initEventModel(), and jvr_getVM(). |
1.3.5