1 /* operational.c - monitor backend operational attributes function */
3 * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
11 #include <ac/string.h>
12 #include <ac/socket.h>
15 #include "back-monitor.h"
16 #include "proto-back-monitor.h"
19 * sets the supported operational attributes (if required)
23 monitor_back_operational(
31 assert( rs->sr_entry );
33 if ( opattrs || ad_inlist( slap_schema.si_ad_hasSubordinates,
36 struct monitorentrypriv *mp;
38 mp = ( struct monitorentrypriv * )rs->sr_entry->e_private;
42 hs = MONITOR_HAS_CHILDREN( mp );
43 *aa = slap_operational_hasSubordinate( hs );