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

#ifndef _Included_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
#define _Included_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    allocateSystemResources
 * Signature: (Ljava/lang/String;IZ)J
 */
JNIEXPORT jlong JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_allocateSystemResources
  (JNIEnv *, jclass, jstring, jint, jboolean);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    attach
 * Signature: (IZ)J
 */
JNIEXPORT jlong JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_attach
  (JNIEnv *, jclass, jint, jboolean);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    ipcClose
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_ipcClose
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    freeSystemResources
 * Signature: (Ljava/lang/String;JZ)V
 */
JNIEXPORT void JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_freeSystemResources__Ljava_lang_String_2JZ
  (JNIEnv *, jclass, jstring, jlong, jboolean);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    freeSystemResources
 * Signature: (Ljava/lang/String;I)V
 */
JNIEXPORT void JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_freeSystemResources__Ljava_lang_String_2I
  (JNIEnv *, jclass, jstring, jint);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    readSharedMemory
 * Signature: (J[BJJJ)J
 */
JNIEXPORT jlong JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_readSharedMemory
  (JNIEnv *, jclass, jlong, jbyteArray, jlong, jlong, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    unreadCount
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_unreadCount
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    sharedMemoryId
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_sharedMemoryId
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    semaphoreId
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_semaphoreId
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    readSharedMemoryByteBuffer
 * Signature: (JLjava/nio/ByteBuffer;JJJ)J
 */
JNIEXPORT jlong JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_readSharedMemoryByteBuffer
  (JNIEnv *, jclass, jlong, jobject, jlong, jlong, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    writeSharedMemory
 * Signature: (J[BJJJ)V
 */
JNIEXPORT void JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_writeSharedMemory
  (JNIEnv *, jclass, jlong, jbyteArray, jlong, jlong, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    writeSharedMemoryByteBuffer
 * Signature: (JLjava/nio/ByteBuffer;JJJ)V
 */
JNIEXPORT void JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_writeSharedMemoryByteBuffer
  (JNIEnv *, jclass, jlong, jobject, jlong, jlong, jlong);

/*
 * Class:     org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils
 * Method:    alive
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_alive
  (JNIEnv *, jclass, jint);

#ifdef __cplusplus
}
#endif
#endif
