Add new c library dom api to ctypes definition.