]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/busctl/busctl-introspect.h
9c8cf51aabf59b49dc78fbca67f1b92560459a30
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2014 Lennart Poettering
12 typedef struct XMLIntrospectOps
{
13 int (*on_path
)(const char *path
, void *userdata
);
14 int (*on_interface
)(const char *name
, uint64_t flags
, void *userdata
);
15 int (*on_method
)(const char *interface
, const char *name
, const char *signature
, const char *result
, uint64_t flags
, void *userdata
);
16 int (*on_signal
)(const char *interface
, const char *name
, const char *signature
, uint64_t flags
, void *userdata
);
17 int (*on_property
)(const char *interface
, const char *name
, const char *signature
, bool writable
, uint64_t flags
, void *userdata
);
20 int parse_xml_introspect(const char *prefix
, const char *xml
, const XMLIntrospectOps
*ops
, void *userdata
);