summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2015-02-25 22:21:32 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-24 06:33:32 -0700
commit9f5addd987861d0a3a1144d576221a7f93af0970 (patch)
treea6723ef501fd481da76e830a88dcad0f3a119ab7 /libglusterfs/src
parent470d5c4af7f85809997a77af187c8f430b0354c8 (diff)
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 <vshankar@redhat.com> Reviewed-on: http://review.gluster.org/9775 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/common-utils.h5
1 files changed, 5 insertions, 0 deletions
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);