mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-03-15 16:10:47 +01:00
* bus/main.c (signal_handler): Reload the configuration files on SIGHUP. (main): Set up our SIGHUP handler. * bus/bus.c (struct BusContext): Store the config file, user and fork flag in the BusContext. (process_config_first_time_only): Added. Contains the code (previously in bus_context_new) for setting up the BusContext from the BusConfigParser that should only be run the first time the config files are read. (process_config_every_time): Added. Contains the code (previously in bus_context_new) for setting up the BusContext from the BusConfigParser that should be run every time the config files are read. (load_config): Added. Builds a BusConfigParser from the config files and passes the resulting structure off to process_config_first_time_only (assuming this is the first time) and process_config_every_time. (bus_context_new): All of the config-related code has been moved to process_config_first_time_only and process_config_every_time. Now this function just does the non-config-related initializations and calls load_config. (bus_context_reload_config): Added. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| activation.c | ||
| activation.h | ||
| bus.c | ||
| bus.h | ||
| config-loader-expat.c | ||
| config-loader-libxml.c | ||
| config-parser.c | ||
| config-parser.h | ||
| connection.c | ||
| connection.h | ||
| dbus-daemon-1.1.in | ||
| desktop-file.c | ||
| desktop-file.h | ||
| dispatch.c | ||
| dispatch.h | ||
| driver.c | ||
| driver.h | ||
| expirelist.c | ||
| expirelist.h | ||
| main.c | ||
| Makefile.am | ||
| messagebus.in | ||
| policy.c | ||
| policy.h | ||
| services.c | ||
| services.h | ||
| session.conf.in | ||
| signals.c | ||
| signals.h | ||
| system.conf.in | ||
| test-main.c | ||
| test.c | ||
| test.h | ||
| utils.c | ||
| utils.h | ||