/*___INFO__MARK_BEGIN__*/
/*************************************************************************
 * 
 *  The Contents of this file are made available subject to the terms of
 *  the Sun Industry Standards Source License Version 1.2
 * 
 *  Sun Microsystems Inc., March, 2001
 * 
 * 
 *  Sun Industry Standards Source License Version 1.2
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.2 (the "License"); You may not use this file
 *  except in compliance with the License. You may obtain a copy of the
 *  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 * 
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 * 
 *   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 * 
 *   Copyright: 2001 by Sun Microsystems, Inc.
 * 
 *   All Rights Reserved.
 * 
 ************************************************************************/
/*___INFO__MARK_END__*/
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_sun_grid_drmaa_SessionImpl */

#ifndef _Included_com_sun_grid_drmaa_SessionImpl
#define _Included_com_sun_grid_drmaa_SessionImpl
#ifdef __cplusplus
extern "C" {
#endif
#undef com_sun_grid_drmaa_SessionImpl_SUSPEND
#define com_sun_grid_drmaa_SessionImpl_SUSPEND 0L
#undef com_sun_grid_drmaa_SessionImpl_RESUME
#define com_sun_grid_drmaa_SessionImpl_RESUME 1L
#undef com_sun_grid_drmaa_SessionImpl_HOLD
#define com_sun_grid_drmaa_SessionImpl_HOLD 2L
#undef com_sun_grid_drmaa_SessionImpl_RELEASE
#define com_sun_grid_drmaa_SessionImpl_RELEASE 3L
#undef com_sun_grid_drmaa_SessionImpl_TERMINATE
#define com_sun_grid_drmaa_SessionImpl_TERMINATE 4L
/* Inaccessible static: JOB_IDS_SESSION_ALL */
#undef com_sun_grid_drmaa_SessionImpl_TIMEOUT_WAIT_FOREVER
#define com_sun_grid_drmaa_SessionImpl_TIMEOUT_WAIT_FOREVER -1LL
#undef com_sun_grid_drmaa_SessionImpl_TIMEOUT_NO_WAIT
#define com_sun_grid_drmaa_SessionImpl_TIMEOUT_NO_WAIT 0LL
#undef com_sun_grid_drmaa_SessionImpl_UNDETERMINED
#define com_sun_grid_drmaa_SessionImpl_UNDETERMINED 0L
#undef com_sun_grid_drmaa_SessionImpl_QUEUED_ACTIVE
#define com_sun_grid_drmaa_SessionImpl_QUEUED_ACTIVE 16L
#undef com_sun_grid_drmaa_SessionImpl_SYSTEM_ON_HOLD
#define com_sun_grid_drmaa_SessionImpl_SYSTEM_ON_HOLD 17L
#undef com_sun_grid_drmaa_SessionImpl_USER_ON_HOLD
#define com_sun_grid_drmaa_SessionImpl_USER_ON_HOLD 18L
#undef com_sun_grid_drmaa_SessionImpl_USER_SYSTEM_ON_HOLD
#define com_sun_grid_drmaa_SessionImpl_USER_SYSTEM_ON_HOLD 19L
#undef com_sun_grid_drmaa_SessionImpl_RUNNING
#define com_sun_grid_drmaa_SessionImpl_RUNNING 32L
#undef com_sun_grid_drmaa_SessionImpl_SYSTEM_SUSPENDED
#define com_sun_grid_drmaa_SessionImpl_SYSTEM_SUSPENDED 33L
#undef com_sun_grid_drmaa_SessionImpl_USER_SUSPENDED
#define com_sun_grid_drmaa_SessionImpl_USER_SUSPENDED 34L
#undef com_sun_grid_drmaa_SessionImpl_DONE
#define com_sun_grid_drmaa_SessionImpl_DONE 48L
#undef com_sun_grid_drmaa_SessionImpl_FAILED
#define com_sun_grid_drmaa_SessionImpl_FAILED 64L
/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeControl
 * Signature: (Ljava/lang/String;I)V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeControl
  (JNIEnv *, jobject, jstring, jint);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeExit
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeExit
  (JNIEnv *, jobject);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeGetContact
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeGetContact
  (JNIEnv *, jobject);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeGetDRMSInfo
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeGetDRMSInfo
  (JNIEnv *, jobject);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeGetJobProgramStatus
 * Signature: (Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeGetJobProgramStatus
  (JNIEnv *, jobject, jstring);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeInit
 * Signature: (Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeInit
  (JNIEnv *, jobject, jstring);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeRunBulkJobs
 * Signature: (IIII)[Ljava/lang/String;
 */
JNIEXPORT jobjectArray JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeRunBulkJobs
  (JNIEnv *, jobject, jint, jint, jint, jint);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeRunJob
 * Signature: (I)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeRunJob
  (JNIEnv *, jobject, jint);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeSynchronize
 * Signature: ([Ljava/lang/String;JZ)V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeSynchronize
  (JNIEnv *, jobject, jobjectArray, jlong, jboolean);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeWait
 * Signature: (Ljava/lang/String;J)Lcom/sun/grid/drmaa/SGEJobInfo;
 */
JNIEXPORT jobject JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeWait
  (JNIEnv *, jobject, jstring, jlong);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeAllocateJobTemplate
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeAllocateJobTemplate
  (JNIEnv *, jobject);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeSetAttributeValue
 * Signature: (ILjava/lang/String;Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeSetAttributeValue
  (JNIEnv *, jobject, jint, jstring, jstring);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeSetAttributeValues
 * Signature: (ILjava/lang/String;[Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeSetAttributeValues
  (JNIEnv *, jobject, jint, jstring, jobjectArray);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeGetAttributeNames
 * Signature: (I)[Ljava/lang/String;
 */
JNIEXPORT jobjectArray JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeGetAttributeNames
  (JNIEnv *, jobject, jint);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeGetAttribute
 * Signature: (ILjava/lang/String;)[Ljava/lang/String;
 */
JNIEXPORT jobjectArray JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeGetAttribute
  (JNIEnv *, jobject, jint, jstring);

/*
 * Class:     com_sun_grid_drmaa_SessionImpl
 * Method:    nativeDeleteJobTemplate
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_com_sun_grid_drmaa_SessionImpl_nativeDeleteJobTemplate
  (JNIEnv *, jobject, jint);

#ifdef __cplusplus
}
#endif
#endif
