X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/blobdiff_plain/3b7435b13a7df0f58e75eeb0fca137ad0fff879c..fe1818536e2bf9261b7c4349ac02877bcbb3c124:/orte/include/jorte/jorte_protos_api.h diff --git a/orte/include/jorte/jorte_protos_api.h b/orte/include/jorte/jorte_protos_api.h index 4bdbcdb..bcd07d3 100644 --- a/orte/include/jorte/jorte_protos_api.h +++ b/orte/include/jorte/jorte_protos_api.h @@ -13,13 +13,49 @@ extern int setRecvInfo(JNIEnv *env, const ORTERecvInfo *rinfo, jobject obj); extern jobject -createAppInfo(JNIEnv *env, ORTEAppInfo *ainfo); +createAppInfo(JNIEnv *env, const ORTEAppInfo *ainfo); extern jobject -createPubInfo(JNIEnv *env, ORTEPubInfo *pinfo); +createPubInfo(JNIEnv *env, const ORTEPubInfo *pinfo); extern jobject -createSubInfo(JNIEnv *env, ORTESubInfo *sinfo); +createSubInfo(JNIEnv *env, const ORTESubInfo *sinfo); extern NtpTime getNtpTime(JNIEnv *env, jobject obj); + +extern Boolean +onSubDelete(const struct ORTEAppInfo *appInfo,const struct ORTESubInfo *subInfo,void *param); + +extern Boolean +onSubRemoteChanged(const struct ORTEAppInfo *appInfo,const struct ORTESubInfo *subInfo,void *param); + +extern Boolean +onSubRemoteNew(const struct ORTEAppInfo *appInfo,const struct ORTESubInfo *subInfo,void *param); + +extern Boolean +onPubDelete(const struct ORTEAppInfo *appInfo,const struct ORTEPubInfo *pubInfo,void *param); + +extern Boolean +onPubRemoteChanged(const struct ORTEAppInfo *appInfo,const struct ORTEPubInfo *pubInfo,void *param); + +extern Boolean +onPubRemoteNew(const struct ORTEAppInfo *appInfo,const struct ORTEPubInfo *pubInfo,void *param); + +extern Boolean +onAppDelete(const struct ORTEAppInfo *appInfo,void *param); + +extern Boolean +onAppRemoteNew(const struct ORTEAppInfo *appInfo,void *param); + +extern Boolean +onMgrDelete(const struct ORTEAppInfo *appInfo,void *param); + +extern Boolean +onMgrNew(const struct ORTEAppInfo *appInfo,void *param); + +extern Boolean +onRegFail(void *param); + +extern jclass +findClass(JNIEnv *env, const char* name);