/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class cnrg_itx_gtwy_ChannelControl */

#ifndef _Included_cnrg_itx_gtwy_ChannelControl
#define _Included_cnrg_itx_gtwy_ChannelControl
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    resetPlaySequence
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_resetPlaySequence
  (JNIEnv *, jobject, jint, jboolean);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    endPlayConnection
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_endPlayConnection
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    initialize
 * Signature: (IIII)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_initialize
  (JNIEnv *, jobject, jint, jint, jint, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    rejectCallMessage
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_rejectCallMessage
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    resetRecordSequence
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_resetRecordSequence
  (JNIEnv *, jobject, jint, jboolean);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    endRecordConnection
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_endRecordConnection
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    dialPhone
 * Signature: (Ljava/lang/String;I)Z
 */
JNIEXPORT jboolean JNICALL Java_cnrg_itx_gtwy_ChannelControl_dialPhone
  (JNIEnv *, jobject, jstring, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    playPacket
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_playPacket
  (JNIEnv *, jobject, jint, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    waitForCall
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_waitForCall
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    channelOffHook
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_channelOffHook
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    unroute
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_unroute
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    recordPacket
 * Signature: (Lcnrg/itx/gtwy/RecordSource;II)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_cnrg_itx_gtwy_ChannelControl_recordPacket
  (JNIEnv *, jobject, jobject, jint, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    channelOnHook
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_channelOnHook
  (JNIEnv *, jobject, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    getExtension
 * Signature: (IZ)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_cnrg_itx_gtwy_ChannelControl_getExtension
  (JNIEnv *, jobject, jint, jboolean);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    playDTMF
 * Signature: (Ljava/lang/String;I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_playDTMF
  (JNIEnv *, jobject, jstring, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    writeToPlay
 * Signature: (I[B)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_writeToPlay
  (JNIEnv *, jobject, jint, jbyteArray);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    reroute
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_reroute
  (JNIEnv *, jobject, jint, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    channelSetUp
 * Signature: (II)I
 */
JNIEXPORT jint JNICALL Java_cnrg_itx_gtwy_ChannelControl_channelSetUp
  (JNIEnv *, jobject, jint, jint);

/*
 * Class:     cnrg_itx_gtwy_ChannelControl
 * Method:    shutDown
 * Signature: ([I)V
 */
JNIEXPORT void JNICALL Java_cnrg_itx_gtwy_ChannelControl_shutDown
  (JNIEnv *, jobject, jintArray);

#ifdef __cplusplus
}
#endif
#endif
