C bindings for WoT