f_print(fout, "extern "); if (proc->res_prefix) { if (streq(proc->res_prefix, "enum")) { f_print(fout, "enum "); } else { f_print(fout, "struct "); } } if (streq(proc->res_type, "bool")) { f_print(fout, "bool_t *"); } else if (streq(proc->res_type, "string")) { f_print(fout, "char **"); } else { f_print(fout, "%s *", fixtype(proc->res_type)); } pvname(proc->proc_name, vp->vers_num); f_print(fout, "();\n");
ptype( proc->res_prefix, proc->res_type, 1 ); f_print( fout, "* " ); if( server_p ) pvname_svc(proc->proc_name, vp->vers_num); else pvname(proc->proc_name, vp->vers_num);   if(mode == 0 || mode ==1) parglist(proc, addargtype); else f_print(fout, "();\n");
pprocdef(proc, vp)	proc_list *proc;	version_list *vp;{	f_print(fout, "extern ");	if (proc->res_prefix) {		if (streq(proc->res_prefix, "enum")) {			f_print(fout, "enum ");		} else {			f_print(fout, "struct ");		}	}	if (streq(proc->res_type, "bool")) {		f_print(fout, "bool_t *");	} else if (streq(proc->res_type, "string")) {		f_print(fout, "char **");	} else {		f_print(fout, "%s *", fixtype(proc->res_type));	}	pvname(proc->proc_name, vp->vers_num);	f_print(fout, "();\n");}