Sends an EventMonitorRequest extended operation to the server. Event monitoring works with eDirectory 8.7 or higher.
#include <ldap.h> int ldap_monitor_events ( LDAP *ld, int eventCount, EVT_EventSpecifier[] *events, int *msgId);
(IN) Points to the handle for the LDAP session.
(IN) The number of events you wish to monitor.
(IN) An array of EVT_EventSpecifier structures describing the events the application wishes to monitor. The number of events is specified by eventCount.
(OUT) Set to the message id of the request if the ldap_monitor_event call succeeds. The value is undefined if the function returns a value other than LDAP_SUCCESS.
LDAP_SUCCESS |
Request was successfully sent |
[Other value] |
Non-zero codes indicate errors. See |
The ldap_monitor_events function sends a MonitorEventRequest extended operation to the server. The function sends the request asynchronously; it does not wait for a response from the server.
To include a filter with your request to limit the events returned see ldap_monitor_events_filtered.