usb_moded 0.86.0+mer64
usb_moded-systemd.h
Go to the documentation of this file.
1
24
25#ifndef USB_MODED_SYSTEMD_H_
26# define USB_MODED_SYSTEMD_H_
27
28# include <glib.h>
29
30/* ========================================================================= *
31 * Constants
32 * ========================================================================= */
33
34# define SYSTEMD_STOP "StopUnit"
35# define SYSTEMD_START "StartUnit"
36
37/* ========================================================================= *
38 * Prototypes
39 * ========================================================================= */
40
41/* ------------------------------------------------------------------------- *
42 * SYSTEMD
43 * ------------------------------------------------------------------------- */
44
45gboolean systemd_control_service(const char *name, const char *method);
46gboolean systemd_control_start (void);
47void systemd_control_stop (void);
48
49#endif /* USB_MODED_SYSTEMD_H_ */