[TS-2527] mgmtapi.h should be C style. This is slightly ugly in the core
now, but that public struct/union has to be named to be C99 compliant.