4
0
Эх сурвалжийг харах

Change interface so there is a new libais_handler structure.

(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@190 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 жил өмнө
parent
commit
f6e476463b
1 өөрчлөгдсөн 9 нэмэгдсэн , 2 устгасан
  1. 9 2
      exec/handlers.h

+ 9 - 2
exec/handlers.h

@@ -37,9 +37,16 @@
 #include <netinet/in.h>
 #include <netinet/in.h>
 #include "main.h"
 #include "main.h"
 
 
+struct libais_handler {
+	int (*libais_handler_fn) (struct conn_info *conn_info, void *msg);
+	int response_size;
+	int response_id;
+	int gmi_prio;
+};
+
 struct service_handler {
 struct service_handler {
-	int (**libais_handler_fns) (struct conn_info *conn_info, void *msg);
-	int libais_handler_fns_count;
+	struct libais_handler *libais_handlers;
+	int libais_handlers_count;
 	int (**aisexec_handler_fns) (void *msg, struct in_addr source_addr);
 	int (**aisexec_handler_fns) (void *msg, struct in_addr source_addr);
 	int aisexec_handler_fns_count;
 	int aisexec_handler_fns_count;
 	int (*confchg_fn) (
 	int (*confchg_fn) (