char *fxp_realpath_recv(struct sftp_packet *pktin)
char *fxp_realpath_recv(struct sftp_packet *pktin, struct sftp_request *req)
char *fxp_realpath_recv(struct sftp_packet *pktin){    if (pktin->type == SSH_FXP_NAME) {	int count;	char *path;	int len;	count = sftp_pkt_getuint32(pktin);	if (count != 1) {	    fxp_internal_error("REALPATH returned name count != 1\n");            sftp_pkt_free(pktin);	    return NULL;	}	sftp_pkt_getstring(pktin, &path, &len);	if (!path) {	    fxp_internal_error("REALPATH returned malformed FXP_NAME\n");            sftp_pkt_free(pktin);	    return NULL;	}	path = mkstr(path, len);	sftp_pkt_free(pktin);	return path;    } else {	fxp_got_status(pktin);        sftp_pkt_free(pktin);	return NULL;    }}