summaryrefslogtreecommitdiff
path: root/ndb/include
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-09-17 15:11:57 +0200
committerunknown <joreland@mysql.com>2004-09-17 15:11:57 +0200
commit32e8f2ac9560f9c563fa43ba1b6e0954444e2da0 (patch)
tree5d876cdbb76653e7711827ab0db283edb088c317 /ndb/include
parentcc499e6eac3140ce6c1fc49a1186afd9cc9233c3 (diff)
downloadmariadb-git-32e8f2ac9560f9c563fa43ba1b6e0954444e2da0.tar.gz
New mgmapi call - ndb_mtm_listen_event
Diffstat (limited to 'ndb/include')
-rw-r--r--ndb/include/mgmapi/mgmapi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ndb/include/mgmapi/mgmapi.h b/ndb/include/mgmapi/mgmapi.h
index 28be268d6d0..44307c3e73c 100644
--- a/ndb/include/mgmapi/mgmapi.h
+++ b/ndb/include/mgmapi/mgmapi.h
@@ -669,6 +669,15 @@ extern "C" {
struct ndb_mgm_reply* reply);
/**
+ * Listen event
+ *
+ * @param filter pairs of { level, category } that will be
+ * pushed to fd, level=0 ends lists
+ * @return fd which events will be pushed to
+ */
+ int ndb_mgm_listen_event(NdbMgmHandle handle, int filter[]);
+
+ /**
* Get configuration
* @param handle NDB management handle.
* @param version Version of configuration, 0 means latest