Sends a filtered EventMonitorRequest extended operation to the server. Event monitoring works with eDirectory 8.7 or higher.
#include <ldap.h> int ldap_monitor_events_filtered ( LDAP *ld, int eventCount, EVT_FilteredEventSpecifier[] *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_FilteredEventSpecifier structures describing the events the application wishes to monitor including an event filter. 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_filtered function sends a FilteredMonitorEventRequest extended operation to the server. The function sends the request asynchronously; it does not wait for a response from the server.