Lines Matching +full:hal +full:. +full:o

4  * hald.c : main startup for HAL daemon
6 * Copyright (C) 2003 David Zeuthen, <david@fubar.dk>
7 * Copyright (C) 2005 Danny Kukawka, <danny.kukawka@web.de>
14 * (at your option) any later version.
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 # include <config.h>
31 #include <stdio.h>
32 #include <stdlib.h>
33 #include <string.h>
34 #include <unistd.h>
35 #include <getopt.h>
36 #include <pwd.h>
37 #include <stdint.h>
38 #include <sys/stat.h>
39 #include <fcntl.h>
40 #include <errno.h>
41 #include <signal.h>
42 #include <grp.h>
43 #include <syslog.h>
45 #include <dbus/dbus.h>
46 #include <dbus/dbus-glib.h>
47 #include <dbus/dbus-glib-lowlevel.h>
49 /*#include "master_slave.h"*/
51 #include "logger.h"
52 #include "hald.h"
53 #include "device_store.h"
54 #include "device_info.h"
55 #include "osspec.h"
56 #include "hald_dbus.h"
57 #include "util.h"
58 #include "hald_runner.h"
59 #include "util_helper.h"
67 * @defgroup HalDaemon HAL daemon
68 * @brief The HAL daemon manages persistent device objects available through
108 if ((addons = hal_device_property_get_strlist (device, "info.addons")) != NULL) { in gdl_store_changed()
202 * @brief Basic functions in the HAL daemon
206 /** Print out program usage.
217 " --use-syslog Print out debug messages to syslog instead of stderr.\n" in usage()
218 " Use this option to get debug messages if HAL runs as\n" in usage()
219 " daemon.\n" in usage()
223 "The HAL daemon detects devices present in the system and provides the\n" in usage()
224 "org.freedesktop.Hal service through the system-wide message bus provided\n" in usage()
225 "by D-BUS.\n" in usage()
227 "For more information visit http://freedesktop.org/Software/hal\n" in usage()
247 * the signal. Note that 'the other end' is a GIOChannel thingy in handle_sigterm()
311 * o Child writes something to the child_fd; means that device in parent_wait_for_child()
314 * o Child is killed (segfault etc.); means that parent should exit in parent_wait_for_child()
317 * o Timeout; means that we should kill the child and exit with in parent_wait_for_child()
327 tv.tv_sec = 250; in parent_wait_for_child()
328 tv.tv_usec = 0; in parent_wait_for_child()
354 /** Entry point for HAL daemon
378 * run-hald.sh and friends) in main()
415 opt = long_options[option_index].name; in main()
421 fprintf (stderr, "HAL package version: " PACKAGE_VERSION "\n"); in main()
540 * evil though, so set up a pipe to transmit the signal. in main()