chiark / gitweb /
[PATCH] replace fgets() with mmap() and introduce udev_lib.[hc]
[elogind.git] / udev_dbus.h
1 #ifndef UDEV_DBUS_H
2 #define UDEV_DBUS_H
3
4
5 #ifdef USE_DBUS
6
7 extern void sysbus_connect(void);
8 extern void sysbus_disconnect(void);
9 extern void sysbus_send_create(struct udevice *dev, const char *path);
10 extern void sysbus_send_remove(const char* name, const char *path);
11  
12 #else
13
14 static inline void sysbus_connect(void) { }
15 static inline void sysbus_disconnect(void) { }
16 static inline void sysbus_send_create(struct udevice *dev, const char *path) { }
17 static inline void sysbus_send_remove(const char* name, const char *path) { }
18
19 #endif /* USE_DBUS */
20
21
22
23 #endif