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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to