operational.c \
cache.c entry.c \
backend.c database.c thread.c conn.c rww.c log.c \
- operation.c sent.c
+ operation.c sent.c listener.c
OBJS = init.lo search.lo compare.lo modify.lo bind.lo \
operational.lo \
cache.lo entry.lo \
backend.lo database.lo thread.lo conn.lo rww.lo log.lo \
- operation.lo sent.lo
+ operation.lo sent.lo listener.lo
LDAP_INCDIR= ../../../include
LDAP_LIBDIR= ../../../libraries
{
SLAPD_MONITOR_LISTENER, SLAPD_MONITOR_LISTENER_NAME,
{ 0L, NULL }, { 0L, NULL }, { 0L, NULL },
- MONITOR_F_NONE,
- NULL, /* init */
+ MONITOR_F_PERSISTENT_CH,
+ monitor_subsys_listener_init,
NULL, /* update */
NULL, /* create */
NULL /* modify */
int monitor_subsys_sent_init LDAP_P(( BackendDB *be ));
int monitor_subsys_sent_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
+/*
+ * listener
+ */
+int monitor_subsys_listener_init LDAP_P(( BackendDB *be ));
+
LDAP_END_DECL
#endif
void slapd_add_internal(ber_socket_t s) {
slapd_add(s);
}
+
+Listener ** slapd_get_listeners(void) {
+ return slap_listeners;
+}
LDAP_SLAPD_F (int) slapd_daemon_init( const char *urls );
LDAP_SLAPD_F (int) slapd_daemon_destroy(void);
LDAP_SLAPD_F (int) slapd_daemon(void);
+LDAP_SLAPD_F (Listener **) slapd_get_listeners LDAP_P((void));
LDAP_SLAPD_F (void) slapd_set_write LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_F (void) slapd_clr_write LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_V (ber_socket_t) dtblsize;
-LDAP_SLAPD_V (Listener **) slap_listeners;
+
LDAP_END_DECL
return NULL;
}
+Listener **
+slapd_get_listeners(void)
+{
+ return NULL;
+}
+