Jelajahi Sumber

Move CPG_SERVICE into service_types where it belongs.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1028 fd59a12c-fef9-0310-b244-a6a79926bd2f
Patrick Caulfield 20 tahun lalu
induk
melakukan
8a55ef585e
2 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 0 2
      include/ipc_cpg.h
  2. 2 1
      include/ipc_gen.h

+ 0 - 2
include/ipc_cpg.h

@@ -38,8 +38,6 @@
 #include "saAis.h"
 #include "saAis.h"
 #include "ipc_gen.h"
 #include "ipc_gen.h"
 
 
-#define CPG_SERVICE 9
-
 enum req_cpg_types {
 enum req_cpg_types {
 	MESSAGE_REQ_CPG_JOIN = 0,
 	MESSAGE_REQ_CPG_JOIN = 0,
 	MESSAGE_REQ_CPG_LEAVE = 1,
 	MESSAGE_REQ_CPG_LEAVE = 1,

+ 2 - 1
include/ipc_gen.h

@@ -45,7 +45,8 @@ enum service_types {
 	EVT_SERVICE = 4,
 	EVT_SERVICE = 4,
 	LCK_SERVICE = 5,
 	LCK_SERVICE = 5,
 	MSG_SERVICE = 6,
 	MSG_SERVICE = 6,
-	CFG_SERVICE = 7
+	CFG_SERVICE = 7,
+	CPG_SERVICE = 8
 };
 };
 
 
 enum req_init_types {
 enum req_init_types {