replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / android / android_api / base / jni / JniCaInterface.h
index 9861eb8..d13b47e 100644 (file)
@@ -31,8 +31,7 @@
 extern "C" {
 #endif
 
-    void CAManagerConnectionStateChangedCB(CATransportAdapter_t adapter,
-                                           const char *remote_address, bool connected);
+    void CAManagerConnectionStateChangedCB(const CAEndpoint_t *info, bool connected);
 
     void CAManagerAdapterStateChangedCB(CATransportAdapter_t adapter, bool enabled);
 
@@ -129,6 +128,22 @@ extern "C" {
     JNIEXPORT void JNICALL Java_org_iotivity_ca_CaInterface_setLeScanIntervalTimeImpl
         (JNIEnv *, jclass, jint, jint);
 
+    /*
+     * Class:     org_iotivity_ca_CaInterface
+     * Method:    setCipherSuiteImpl
+     * Signature: (Lorg/iotivity/ca/OicCipher;Lorg/iotivity/ca/CATransportAdapter;)I
+     */
+    JNIEXPORT jint JNICALL Java_org_iotivity_ca_CaInterface_setCipherSuiteImpl
+     (JNIEnv *, jclass, jint, jint);
+
+    /*
+     * Class:     org_iotivity_ca_CaInterface
+     * Method:    disconnectTCPSessionImpl
+     * Signature: (Ljava/lang/String;II)I
+     */
+    JNIEXPORT jint JNICALL Java_org_iotivity_ca_CaInterface_disconnectTCPSessionImpl
+     (JNIEnv *, jclass, jstring, jint, jint);
+
 #ifdef __cplusplus
 }
 #endif