libmesode is a libstrophe fork.

libstrophe is a minimal XMPP library written in C. It has almost no
external dependencies, only an XML parsing library.

Homepage:
https://github.com/boothj5/libmesode
