c89 and mongo-c-driver style