if (def->def_kind != DEF_CONST) { f_print(fout, "\n"); } switch (def->def_kind) { case DEF_STRUCT: pstructdef(def); break; case DEF_UNION: puniondef(def); break; case DEF_ENUM: penumdef(def); break; case DEF_TYPEDEF: ptypedef(def); break; case DEF_PROGRAM: pprogramdef(def); break; case DEF_CONST: pconstdef(def); break; } if (def->def_kind != DEF_PROGRAM && def->def_kind != DEF_CONST) { pxdrfuncdecl( def->def_name, def->def_kind != DEF_TYPEDEF || !isvectordef(def->def.ty.old_type, def->def.ty.rel));  }
if (def->def_kind != DEF_CONST) { f_print (fout, "\n"); } switch (def->def_kind) { case DEF_STRUCT: pstructdef (def); break; case DEF_UNION: puniondef (def); break; case DEF_ENUM: penumdef (def); break; case DEF_TYPEDEF: ptypedef (def); break; case DEF_PROGRAM: pprogramdef (def); break; case DEF_CONST: pconstdef (def); break; } if (def->def_kind != DEF_PROGRAM && def->def_kind != DEF_CONST) { storexdrfuncdecl(def->def_name, def->def_kind != DEF_TYPEDEF || !isvectordef(def->def.ty.old_type, def->def.ty.rel)); }
print_datadef(definition *def){	if (def->def_kind == DEF_PROGRAM )  /* handle data only */	        return;	if (def->def_kind != DEF_CONST) {		f_print(fout, "\n");	}	switch (def->def_kind) {	case DEF_STRUCT:		pstructdef(def);		break;	case DEF_UNION:		puniondef(def);		break;	case DEF_ENUM:		penumdef(def);		break;	case DEF_TYPEDEF:		ptypedef(def);		break;	case DEF_PROGRAM:		pprogramdef(def);		break;	case DEF_CONST:		pconstdef(def);		break;	}	if (def->def_kind != DEF_PROGRAM && def->def_kind != DEF_CONST) {	  pxdrfuncdecl( def->def_name,		       def->def_kind != DEF_TYPEDEF ||		       !isvectordef(def->def.ty.old_type, def->def.ty.rel));	}}