X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=android%2Fandroid_api%2Fbase%2Fjni%2FJniCaInterface.h;h=d13b47e8dd7b86a052ebd307c709cf7a2cd0be50;hb=3c093548382bb2542c87a67e6e5fa32552c29cb3;hp=9861eb8c4939bace07211d654becea6ce6d2f629;hpb=f091916038ef021bb2d4b9625f16d52abfbaa91d;p=platform%2Fupstream%2Fiotivity.git diff --git a/android/android_api/base/jni/JniCaInterface.h b/android/android_api/base/jni/JniCaInterface.h index 9861eb8..d13b47e 100644 --- a/android/android_api/base/jni/JniCaInterface.h +++ b/android/android_api/base/jni/JniCaInterface.h @@ -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