[Rpm-maint] [rpm-software-management/rpm] Rust bindings for rpmlib (#429)
Jeff Johnson
notifications at github.com
Mon Apr 16 15:27:04 UTC 2018
Again, look at headerFormat() bindings which is kind of like asprintf(3) for headers and you can then parse the string into whatever rust types you wish within rust.
I previously suggested you might want to bind the high level rpmQuery() same as the CLI rpm --query --queryformat ... command to avoid having to use a match iterator or headers (which would be used only in rpmQuery).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/429#issuecomment-381645193
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180416/469748f4/attachment.html>
More information about the Rpm-maint
mailing list