e-xml: Add C api

Makes it easier to use with C projects (especially those that don't allow C++ code)
Understood.