Attempt at making a library to wrap the code to publish marker
messages so it can be called from C.