Code for converted C header files to python class definitions