Add four new functions and one new enum to the C API: