mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
- c, cpp - csharp - ffi - go - Java - Python - WASM `arc` feature is turned on for all bindings Use pretty string instead of colored string. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
158 lines
4.4 KiB
C
158 lines
4.4 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
#include <jni.h>
|
|
/* Header for class com_microsoft_regorus_Engine */
|
|
|
|
#ifndef _Included_com_microsoft_regorus_Engine
|
|
#define _Included_com_microsoft_regorus_Engine
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeNewEngine
|
|
* Signature: ()J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_com_microsoft_regorus_Engine_nativeNewEngine
|
|
(JNIEnv *, jclass);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeClone
|
|
* Signature: (J)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_com_microsoft_regorus_Engine_nativeClone
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeAddPolicy
|
|
* Signature: (JLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeAddPolicy
|
|
(JNIEnv *, jclass, jlong, jstring, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeAddPolicyFromFile
|
|
* Signature: (JLjava/lang/String;)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeAddPolicyFromFile
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeClearData
|
|
* Signature: (J)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeClearData
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeAddDataJson
|
|
* Signature: (JLjava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeAddDataJson
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeAddDataJsonFromFile
|
|
* Signature: (JLjava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeAddDataJsonFromFile
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeSetInputJson
|
|
* Signature: (JLjava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeSetInputJson
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeSetInputJsonFromFile
|
|
* Signature: (JLjava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeSetInputJsonFromFile
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeEvalQuery
|
|
* Signature: (JLjava/lang/String;)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeEvalQuery
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeEvalRule
|
|
* Signature: (JLjava/lang/String;)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeEvalRule
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeSetEnableCoverage
|
|
* Signature: (JZ)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeSetEnableCoverage
|
|
(JNIEnv *, jclass, jlong, jboolean);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeGetCoverageReport
|
|
* Signature: (J)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeGetCoverageReport
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeGetCoverageReportAsColoredString
|
|
* Signature: (J)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeGetCoverageReportAsColoredString
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeClearCoverageData
|
|
* Signature: (J)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeClearCoverageData
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeSetGatherPrints
|
|
* Signature: (JZ)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeSetGatherPrints
|
|
(JNIEnv *, jclass, jlong, jboolean);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeTakePrints
|
|
* Signature: (J)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_microsoft_regorus_Engine_nativeTakePrints
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: com_microsoft_regorus_Engine
|
|
* Method: nativeDestroyEngine
|
|
* Signature: (J)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_microsoft_regorus_Engine_nativeDestroyEngine
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|