summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/eventtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/eventtypes.h')
-rw-r--r--libglusterfs/src/eventtypes.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libglusterfs/src/eventtypes.h b/libglusterfs/src/eventtypes.h
new file mode 100644
index 0000000..874f8cc
--- /dev/null
+++ b/libglusterfs/src/eventtypes.h
@@ -0,0 +1,22 @@
+#ifndef __EVENTTYPES_H__
+#define __EVENTTYPES_H__
+
+typedef enum {
+ EVENT_SEND_OK,
+ EVENT_ERROR_INVALID_INPUTS,
+ EVENT_ERROR_SOCKET,
+ EVENT_ERROR_CONNECT,
+ EVENT_ERROR_SEND,
+} event_errors_t;
+
+typedef enum {
+ EVENT_PEER_ATTACH,
+ EVENT_PEER_DETACH,
+ EVENT_VOLUME_CREATE,
+ EVENT_VOLUME_START,
+ EVENT_VOLUME_STOP,
+ EVENT_VOLUME_DELETE,
+ EVENT_LAST
+} eventtypes_t;
+
+#endif /* __EVENTTYPES_H__ */