Lines Matching defs:monitor
4 Service monitor
49 #include "monitor/monitor.h"
51 #include "monitor/monitor_interfaces.h"
75 /* name of the monitor server instance */
208 * Return the monitor version over D-BUS */
517 * Set up the monitor service as a D-BUS Server */
529 * user can access the monitor sbus server. root is still king, so we don't
1397 static void signal_res_init(struct mt_ctx *monitor)
1405 for(cur_svc = monitor->svc_list; cur_svc; cur_svc = cur_svc->next) {
1418 struct mt_ctx *monitor;
1421 monitor = talloc_get_type(private_data, struct mt_ctx);
1427 for(cur_svc = monitor->svc_list; cur_svc; cur_svc = cur_svc->next) {
1442 struct mt_ctx *monitor;
1445 monitor = talloc_get_type(private_data, struct mt_ctx);
1450 for(cur_svc = monitor->svc_list; cur_svc; cur_svc = cur_svc->next) {
1459 signal_res_init(monitor);
1468 * to access the monitor context on process shutdown */
1480 * As a result of this * warning is printed ‘monitor’ may be used
1487 struct mt_ctx **monitor)
1515 /* Read in the monitor's configuration */
1532 *monitor = ctx;
1696 /* Tell the monitor to signal the children */
1768 /* Tell the monitor to signal the children */
1807 /* Tell the monitor to signal the children */
1833 /* Set up inotify to monitor the config file for changes */
1951 /* Could not monitor file with inotify, fall back to polling */
2169 * The monitor will act as a D-BUS server for all
2307 * the monitor is serving it.
2492 struct mt_ctx *monitor;
2594 "replaced as a monitor option in sssd.conf\n");
2606 /* the monitor should not run a watchdog on itself */
2675 &monitor);
2706 monitor->conf_path = CONFDB_MONITOR_CONF_ENTRY;
2711 monitor->conf_path, &main_ctx);
2714 monitor->is_daemon = !opt_interactive;
2715 monitor->parent_pid = main_ctx->parent_pid;
2716 monitor->ev = main_ctx->event_ctx;
2717 talloc_steal(main_ctx, monitor);
2719 ret = monitor_process_init(monitor, config_file);