If you can dig out a copy of the old GPL version of Ingres, dm0c.h looks like the place where you'd find the structures involved. They might have changed in the meantime of course, but hopefully a useful starting point.