Add config operation functions on C.