bug 991: Added the bit field cgi to the structs connection and type_query.