1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
|
/*___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
|