Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
| Revision Log
| Patch
| 2927 |
hWnd = GetDlgItem(dlg, IDC_SENDFILE_EDIT); |
hWnd = GetDlgItem(dlg, IDC_SENDFILE_EDIT); |
| 2928 |
SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile); |
SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile); |
| 2929 |
if (sendfile[0] != '\0') { |
if (sendfile[0] != '\0') { |
| 2930 |
SSH_start_scp(pvar, sendfile); |
SSH_start_scp(pvar, sendfile, NULL); |
| 2931 |
|
//SSH_start_scp(pvar, sendfile, "tmp/foo.chm"); |
| 2932 |
EndDialog(dlg, 1); // dialog close |
EndDialog(dlg, 1); // dialog close |
| 2933 |
return TRUE; |
return TRUE; |
| 2934 |
} |
} |
| 2945 |
|
|
| 2946 |
// マクロコマンド"scpsend"から呼び出すために、DLL外へエクスポートする。"ttxssh.def"ファイルに記載。 |
// マクロコマンド"scpsend"から呼び出すために、DLL外へエクスポートする。"ttxssh.def"ファイルに記載。 |
| 2947 |
// (2008.1.1 yutaka) |
// (2008.1.1 yutaka) |
| 2948 |
__declspec(dllexport) int CALLBACK TTXScpSendfile(char *filename) |
__declspec(dllexport) int CALLBACK TTXScpSendfile(char *filename, char *dstfile) |
| 2949 |
{ |
{ |
| 2950 |
return SSH_start_scp(pvar, filename); |
return SSH_start_scp(pvar, filename, dstfile); |
| 2951 |
} |
} |
| 2952 |
|
|
| 2953 |
static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam, |
static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam, |
|
|
Legend:
| Removed from v.3088 |
|
| changed lines |
| |
Added in v.3089 |
|
|
| |