I just made one from scratch, since these kinds of files may be system
specific. Guido wrote a little script in one of the demo directories
(something like h2py) to process a header file and turn it into a python
module. Although not complete, it mostly does the job, with some manual
edits afterwards. In general, if Python is going to provide lower level
functionality such as fcntl and ioctl (which I argued for and like very
much), it should also provide some fully functional header rewriting script,
like Perl. At least twice I started writing a script like that but never
finished. :-)
-Jaap-