Description. This function is used to listen to log events, which are read from the return file descriptor. Events use a text-based format, the same as in the cluster log.
Signature.
int ndb_mgm_listen_event ( NdbMgmHandlehandle
, const intfilter[]
)
Parameters. This function takes two arguments:
An NdbMgmHandle
handle
.
A filter
which consists of
a series of {level,
ndb_mgm_event_category}
pairs (in a single
array) that are pushed to a file descriptor. Use
0
for the level to terminate the
list.
Return value. The file descriptor from which events are to be read.