]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/jorte/jorte_protos_api.h
Revert "JORTE: update license headers and clean-up includes"
[orte.git] / orte / include / jorte / jorte_protos_api.h
index 4bdbcdb6384cafc641b5403a9b4389a0b49f5f6f..bcd07d3c28e57589901594df9a91ae9bc5aa8cde 100644 (file)
@@ -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);