Provide basic C API headers

As usual, this should be example of minimal API that allows to implement manager and plugin interaction.