A C interface to watchman