8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / cmd / hal / hald / hald.h
blobb81094749560a516dffbdb3fddab2a2bc54bf5b2
1 /***************************************************************************
2 * CVSID: $Id$
4 * device_store.h : device store interface
6 * Copyright (C) 2003 David Zeuthen, <david@fubar.dk>
8 * Licensed under the Academic Free License version 2.1
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 **************************************************************************/
26 #ifndef HALD_H
27 #define HALD_H
29 #include <stdarg.h>
30 #include <stdint.h>
31 #include <dbus/dbus.h>
33 #include "device_store.h"
35 /**
36 * @addtogroup HalDaemon
38 * @{
41 HalDeviceStore *hald_get_gdl (void);
42 HalDeviceStore *hald_get_tdl (void);
44 void property_atomic_update_begin ();
45 void property_atomic_update_end ();
47 extern dbus_bool_t hald_is_verbose;
48 extern dbus_bool_t hald_use_syslog;
49 extern dbus_bool_t hald_is_initialising;
50 extern dbus_bool_t hald_is_shutting_down;
52 /* If this is defined, the amount of time, in seconds, before hald
53 * does an exit where resources are freed - useful for valgrinding
54 * and finding memory leaks; e.g. plug in a device, do something
55 * with the hal daemon and then look at the report
57 * Use hald/valgrind-hald.sh for this
59 /*#define HALD_MEMLEAK_DBG 60*/
61 /**
62 * @}
65 #endif /* HALD_H */