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

#ifndef _Included_jp_sourceforge_nicoro_LiveVideoLoader
#define _Included_jp_sourceforge_nicoro_LiveVideoLoader
#ifdef __cplusplus
extern "C" {
#endif
#undef jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGV
#define jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGV 1L
#undef jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD
#define jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD 1L
#undef jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD_READ
#define jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD_READ 1L
#undef jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD_SEEK
#define jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD_SEEK 1L
#undef jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD_WRITE
#define jp_sourceforge_nicoro_LiveVideoLoader_DEBUG_LOGD_WRITE 1L
#undef jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_START_CONNECT
#define jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_START_CONNECT 0L
#undef jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_RECONNECT_STREAM
#define jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_RECONNECT_STREAM 1L
#undef jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_READ_ASYNC
#define jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_READ_ASYNC 2L
#undef jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_CLOSE
#define jp_sourceforge_nicoro_LiveVideoLoader_MSG_ID_CLOSE 3L
#undef jp_sourceforge_nicoro_LiveVideoLoader_READ_BUFFER_SIZE
#define jp_sourceforge_nicoro_LiveVideoLoader_READ_BUFFER_SIZE 8192L
#undef jp_sourceforge_nicoro_LiveVideoLoader_FILE_CACHE_HEAD_SIZE
#define jp_sourceforge_nicoro_LiveVideoLoader_FILE_CACHE_HEAD_SIZE 196608L
#undef jp_sourceforge_nicoro_LiveVideoLoader_THREAD_PRIORITY_WRITE
#define jp_sourceforge_nicoro_LiveVideoLoader_THREAD_PRIORITY_WRITE 0L
#undef jp_sourceforge_nicoro_LiveVideoLoader_THREAD_PRIORITY_DEFAULT
#define jp_sourceforge_nicoro_LiveVideoLoader_THREAD_PRIORITY_DEFAULT 10L
/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    init
 * Signature: ()J
 */
JNIEXPORT jlong JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_init
  (JNIEnv *, jclass);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    close
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_close
  (JNIEnv *, jclass, jlong);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    free
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_free
  (JNIEnv *, jclass, jlong);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    setupURL
 * Signature: (JLjava/lang/String;)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_setupURL
  (JNIEnv *, jclass, jlong, jstring);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    connect
 * Signature: (J)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_connect
  (JNIEnv *, jclass, jlong);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    connectStream
 * Signature: (JI)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_connectStream
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    reconnectStream
 * Signature: (JI)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_reconnectStream
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    read
 * Signature: (J[BII)I
 */
JNIEXPORT jint JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_read
  (JNIEnv *, jclass, jlong, jbyteArray, jint, jint);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    pause
 * Signature: (JZ)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_pause
  (JNIEnv *, jclass, jlong, jboolean);

/*
 * Class:     jp_sourceforge_nicoro_LiveVideoLoader
 * Method:    sendSeek
 * Signature: (JI)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_LiveVideoLoader_sendSeek
  (JNIEnv *, jclass, jlong, jint);

#ifdef __cplusplus
}
#endif
#endif
