summaryrefslogtreecommitdiffstats
path: root/server/monitor/monitor_interfaces.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify interfaces initializationSimo Sorce2009-08-101-12/+11
| | | | | | | Make as much as possible static, and remove use of talloc_reference and allocation/deallocation of memory when not necessary. Fix also responder use of rctx->conn, was mistakenly used for both monitor and dp connections.
* Monitor resolv.conf for changesStephen Gallagher2009-07-201-0/+1
| | | | | | | | | | | | | | | | | | | This patch updates the monitor_config_file() functions so that they can monitor any number of files and invoke a specified callback whenever they are modified. When inotify is available, we will add an additional watch descriptor to the inotify file descriptor. When inotify is not available, the polling function will simply loop to check each file in the monitor list. When changes are discovered in resolv.conf, the monitor will send a "resInit" signal to all of its known children. They are only required to handle this function if they need updated DNS information. Services that do not implement resInit should return DBUS_ERROR_UNKNOWN_METHOD (rather than timing out) with no ill effects.
* Redesign the the monitor's configuration to enable live reloadsStephen Gallagher2009-04-101-0/+1
| | | | Fixes requested during code review
* Remove references to FreeIPA from D-BUS interfacesStephen Gallagher2009-03-191-4/+4
| | | | | | Per discussion with the desktop team, using the org.freedesktop interface name will simplify adoption, as potential users won't feel like they're pulling in a FreeIPA dependency.
* Refactoring the monitor code and SBUS utility functions.Stephen Gallagher2009-01-271-0/+42