mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 20:49:35 -05:00
listener monitor
This commit is contained in:
parent
5dfbf93687
commit
619f772459
6 changed files with 21 additions and 5 deletions
|
|
@ -4,12 +4,12 @@ SRCS = init.c search.c compare.c modify.c bind.c \
|
|||
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
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ struct monitorsubsys monitor_subsys[] = {
|
|||
{
|
||||
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 */
|
||||
|
|
|
|||
|
|
@ -95,6 +95,11 @@ int monitor_subsys_ops_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
|
|||
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
|
||||
|
|
|
|||
|
|
@ -1820,3 +1820,7 @@ slap_sig_wake( int sig )
|
|||
void slapd_add_internal(ber_socket_t s) {
|
||||
slapd_add(s);
|
||||
}
|
||||
|
||||
Listener ** slapd_get_listeners(void) {
|
||||
return slap_listeners;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1032,6 +1032,7 @@ LDAP_SLAPD_F (void) slapd_add_internal(ber_socket_t s);
|
|||
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));
|
||||
|
|
@ -1064,7 +1065,7 @@ LDAP_SLAPD_F (int) do_extended LDAP_P((Connection *conn, Operation *op));
|
|||
|
||||
|
||||
LDAP_SLAPD_V (ber_socket_t) dtblsize;
|
||||
LDAP_SLAPD_V (Listener **) slap_listeners;
|
||||
|
||||
|
||||
LDAP_END_DECL
|
||||
|
||||
|
|
|
|||
|
|
@ -239,3 +239,9 @@ slap_operational_hasSubordinate( int hs )
|
|||
return NULL;
|
||||
}
|
||||
|
||||
Listener **
|
||||
slapd_get_listeners(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue