for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { for(plist = vers->procs; plist != NULL; plist = plist->next) {  if (!newstyle || plist->arg_num < 2) { continue;  } name = plist->args.argname; f_print(fout, "struct %s {\n", name); for (l = plist->args.decls; l != NULL; l = l->next) { pdeclaration(name, &l->decl, 1, ";\n" ); } f_print(fout, "};\n"); f_print(fout, "typedef struct %s %s;\n", name, name); pxdrfuncdecl(name, 0); f_print( fout, "\n" ); } }
for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { for (plist = vers->procs; plist != NULL; plist = plist->next) {  if (!newstyle || plist->arg_num < 2) { continue;		 } name = plist->args.argname; f_print (fout, "struct %s {\n", name); for (l = plist->args.decls; l != NULL; l = l->next) { pdeclaration (name, &l->decl, 1, ";\n"); } f_print (fout, "};\n"); f_print (fout, "typedef struct %s %s;\n", name, name); storexdrfuncdecl (name, 0); f_print (fout, "\n"); } }
pargdef(definition *def){	decl_list *l;	version_list *vers;	const char *name;	proc_list *plist;		for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) {			for(plist = vers->procs; plist != NULL; 			    plist = plist->next) {								if (!newstyle || plist->arg_num < 2) {					continue; /* old style or single args */				}				name = plist->args.argname;				f_print(fout, "struct %s {\n", name);				for (l = plist->args.decls; 				     l != NULL; l = l->next) {					pdeclaration(name, &l->decl, 1, ";\n" );				}				f_print(fout, "};\n");				f_print(fout, "typedef struct %s %s;\n", name, name);				pxdrfuncdecl(name, 0);				f_print( fout, "\n" );			}		}}