]> git.ipfire.org Git - thirdparty/systemd.git/blame - udev_dbus.h
[PATCH] cleanup man & remove symlink comment
[thirdparty/systemd.git] / udev_dbus.h
CommitLineData
7ac0feeb
GKH
1#ifndef UDEV_DBUS_H
2#define UDEV_DBUS_H
3
4
5#ifdef USE_DBUS
6
7extern void sysbus_connect(void);
8extern void sysbus_disconnect(void);
9extern void sysbus_send_create(struct udevice *dev, const char *path);
10extern void sysbus_send_remove(const char* name, const char *path);
11
12#else
13
14static inline void sysbus_connect(void) { }
15static inline void sysbus_disconnect(void) { }
16static inline void sysbus_send_create(struct udevice *dev, const char *path) { }
17static inline void sysbus_send_remove(const char* name, const char *path) { }
18
19#endif /* USE_DBUS */
20
21
22
23#endif