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

Add API examples for C/C++ #565

Open
2 of 9 tasks
engelmi opened this issue Sep 14, 2023 · 2 comments
Open
2 of 9 tasks

Add API examples for C/C++ #565

engelmi opened this issue Sep 14, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@engelmi
Copy link
Member

engelmi commented Sep 14, 2023

Please describe what information you were trying to find

In #563, the structure for the BlueChi D-Bus API examples of bindings in different languages has been restructured. It would be great to add the missing examples in C/C++.

The C/C++ sample code files should be put into the following directory:
https://github.com/containers/bluechi/blob/main/doc/api-examples/c/

Checklist of missing examples:

  • enable-unit
  • get-cpuweight
  • list-nodes
  • list-node-units
  • monitor-agent-connection
  • monitor-node-connections
  • monitor-unit
  • set-cpuweight
  • start-unit

The setup on how to run the examples has been written in the setup.md.

After adding all missing examples, the setup as well as all files can be linked in the doc/docs/api/examples.md.

@engelmi engelmi added the documentation Improvements or additions to documentation label Sep 14, 2023
@engelmi
Copy link
Member Author

engelmi commented Sep 14, 2023

@dougsland Would you like to take this task? :)

@dougsland
Copy link
Contributor

@dougsland Would you like to take this task? :)

if not urgent, sure thing. :)

@dougsland dougsland self-assigned this Sep 14, 2023
@mkemel mkemel added this to the v0.7 milestone Nov 21, 2023
@mkemel mkemel added jira Issues that are synced to Jira and removed jira Issues that are synced to Jira labels Nov 21, 2023
@engelmi engelmi removed this from the v0.7 milestone Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants