mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
libink/finit: properties, and org.finit on the system bus
Runlevel and version are state, not actions, so they belong behind org.freedesktop.DBus.Properties rather than another method each. Finit also claims org.finit on the system bus when it finds one, so ordinary D-Bus clients can reach it without knowing about /run/finit/bus. Opportunistic on purpose: no dbus-daemon is a normal state for the systems Finit runs on, not an error to report. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
dd1390a6c2
commit
ebc0ef62e6
22 files changed
+1474
-154
No files matched your search
@@ -23,6 +23,7 @@ void __w_u32 (struct link_writer *w, uint32_t v);
|
||||
void __w_string (struct link_writer *w, const char *s); /* "s" */
|
||||
void __w_path (struct link_writer *w, const char *s); /* "o" */
|
||||
void __w_sig (struct link_writer *w, const char *s); /* "g" */
|
||||
void __w_variant_string(struct link_writer *w, const char *s); /* "v" containing "s" */
|
||||
|
||||
/* element_sig_first_char drives the alignment padding inserted
|
||||
* between the array length prefix and the first element. */
|
||||
@@ -43,6 +44,9 @@ int __r_bool (struct link_reader *r, int *out);
|
||||
int __r_u32 (struct link_reader *r, uint32_t *out);
|
||||
int __r_string(struct link_reader *r, const char **out); /* "s" */
|
||||
int __r_path (struct link_reader *r, const char **out); /* "o" */
|
||||
int __r_variant_string(struct link_reader *r, const char **out); /* "v" containing "s" */
|
||||
int __r_align (struct link_reader *r, size_t n); /* skip to n-byte boundary */
|
||||
int __r_array_begin(struct link_reader *r, size_t *out_end);
|
||||
int __r_done (const struct link_reader *r);
|
||||
|
||||
#endif /* LIBINK_MARSHAL_H_ */
|
||||
Reference in new issue
Block a user