summaryrefslogtreecommitdiffstats
path: root/server/monitor/monitor_interfaces.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename server/ directory to src/Stephen Gallagher2010-02-181-55/+0
| | | | Also update BUILD.txt
* Force offline operation with SIGUSR1Stephen Gallagher2010-02-011-0/+1
| | | | | | If the monitor receives SIGUSR1, it will instruct all providers to enter offline operation. If any individual provider receives SIGUSR1, it alone will enter offline operation.
* Upgrade confdb to version 2Stephen Gallagher2009-09-251-2/+1
| | | | | This converts a great many configuration options to the new standard format.
* Fix reconnection codeSimo Sorce2009-08-171-0/+10
| | | | | | | Remove redundant reconnection code that was interfeering with the sbus reconnection code. Consolidate include files for sbus relates operations. Make pamsrv code similar to nsssrv code.
* Change services identification mechanismSimo Sorce2009-08-111-5/+7
| | | | | | | Let services identify themselves voiluntarily as the first operation instead of polling from the monitor. Also consolidate some common functions and make them available as monitor helpers.
* 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