struct fxp_handle *fxp_open_recv(struct sftp_packet *pktin)
struct fxp_handle *fxp_open_recv(struct sftp_packet *pktin, struct sftp_request *req)
struct fxp_handle *fxp_open_recv(struct sftp_packet *pktin){    if (pktin->type == SSH_FXP_HANDLE) {	char *hstring;	struct fxp_handle *handle;	int len;	sftp_pkt_getstring(pktin, &hstring, &len);	if (!hstring) {	    fxp_internal_error("OPEN returned malformed FXP_HANDLE\n");            sftp_pkt_free(pktin);	    return NULL;	}	handle = snew(struct fxp_handle);	handle->hstring = mkstr(hstring, len);	handle->hlen = len;	sftp_pkt_free(pktin);	return handle;    } else {	fxp_got_status(pktin);        sftp_pkt_free(pktin);	return NULL;    }}