Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement D-Bus XML introspection reader #111

Open
gunnar-mb opened this issue Mar 5, 2024 · 0 comments
Open

Implement D-Bus XML introspection reader #111

gunnar-mb opened this issue Mar 5, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@gunnar-mb
Copy link
Collaborator

Previously a D-Bus XML description output generator has been created, IFEX->D-Bus.

Next, a D-Bus input filter should be developed, to consume D-Bus interface description into IFEX model (enabling D-Bus to ) translations.

Rough design would be:

  • Parse XML using a standard parser
  • Create simpler recursive parser for the D-Bus type signature: '(n(yyi){yi}a(n))' and convert the fundamental types into IFEX fundamental types. This should be straight forward - bytes, integers, floats, arrays, dict/maps and structs are all supported of course.
  • It will be required to create generated parameter names for each type given in a method signature, since the parameters are anonymous there.
  • A method signature could be kept as individual components, or converted to a Struct type (like protobuf handles only a single Message definition as argument, not multiple arguments)
@gunnar-mb gunnar-mb added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant