fprintf(stderr, "header size is %d ", size); ann = header->annotations; do { size += 1;  if (XPT_ANN_IS_PRIVATE(ann->flags)) size += 2 + ann->creator->length + 2 + ann->private_data->length; } while (!XPT_ANN_IS_LAST(ann->flags));
XPT_SizeOfHeader(XPTHeader *header){    XPTAnnotation *ann;    uint32 size = 16 /* magic */ +        1 /* major */ + 1 /* minor */ +        2 /* num_interfaces */ + 4 /* file_length */ +        4 /* interface_directory */ + 4 /* data_pool */;    /* XXX annotations */        return size;}