From 9f5addd987861d0a3a1144d576221a7f93af0970 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Wed, 25 Feb 2015 22:21:32 +0530 Subject: features/changelog: Make use of IPC fop Translators which wish to send event notifications can send "down" an IPC FOP with op_type as GF_IPC_TARGET_CHANGELOG and xdata carrying event structures (changelog_event_t). Change-Id: I0e5f8c9170161c186f0e58d07105813e34e18786 BUG: 1170075 Signed-off-by: Venky Shankar Reviewed-on: http://review.gluster.org/9775 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/common-utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index f76059b3082..5f67a162d59 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -119,8 +119,13 @@ enum _gf_client_pid GF_CLIENT_PID_GLFS_HEAL = -7, }; +enum _gf_xlator_ipc_targets { + GF_IPC_TARGET_CHANGELOG = 0, +}; + typedef enum _gf_boolean gf_boolean_t; typedef enum _gf_client_pid gf_client_pid_t; +typedef enum _gf_xlator_ipc_targets _gf_xlator_ipc_targets_t; typedef int (*gf_cmp) (void *, void *); void gf_global_variable_init(void); -- cgit