Using libpijul from C?

Hey there,

As a little side-project, I’m looking to implement a minimal GUI for pijul. As far as I can tell, pijul’s CLI client is nicely separated from pijul’s back-end, which is provided by libpijul. My question is, is there a way to access libpijul’s functions from C as-is, or would I need to fork it and expose functions myself?

I don’t yet know Rust, and learning it is outside of my purview in this case, hence why I’m trying to do this in C. As far as I can tell, this article describes how a function might be exposed, and that pattern isn’t present in libpijul as far as I can see, but I am not knowledgeable enough about the codebase to know for sure.