I've finally gotten libpihelper to a state where it's (mostly) free of memory leaks and the code is slightly better organized than having all of it in a single file. It still needs a lot of work but I went ahead and pushed it to my personal git server: https://git.wbrawner.com/Pi-Helper/pihelper.git/about/
Once I'm finally happy with the code, I'll start reworking the Android & iOS apps I've written to make use of this instead of their own platform-specific implementations. I also really need to get that blog post finished…
Anyways, like I said the code needs a lot of work and it's the first time I've ever seriously undertaken writing something in C by myself so if anyone out there would like to critique my work and let me know how it could be better (I know there are a lot of errors that need to be checked for example), or even submit a patch, I'd greatly appreciate it!
A Mastodon instance for info/cyber security-minded people.