summaryrefslogtreecommitdiff
path: root/server/monitor/monitor_interfaces.h
AgeCommit message (Collapse)AuthorFilesLines
2009-08-10Simplify interfaces initializationSimo Sorce1-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.
2009-07-20Monitor resolv.conf for changesStephen Gallagher1-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.
2009-04-10Redesign the the monitor's configuration to enable live reloadsStephen Gallagher1-0/+1
Fixes requested during code review
2009-03-19Remove references to FreeIPA from D-BUS interfacesStephen Gallagher1-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.
2009-01-27Refactoring the monitor code and SBUS utility functions.Stephen Gallagher1-0/+42