Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3089 by yutakapon, Thu Jan 3 16:15:40 2008 UTC revision 3091 by yutakapon, Fri Jan 4 08:01:29 2008 UTC
# Line 2928  static BOOL CALLBACK TTXScpDialog(HWND d Line 2928  static BOOL CALLBACK TTXScpDialog(HWND d
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, NULL);                                  SSH_start_scp(pvar, sendfile, NULL);
2931                                  //SSH_start_scp(pvar, sendfile, "tmp/foo.chm");                                  //SSH_scp_transaction(pvar, "bigfile30.bin", "", FROMREMOTE);
2932                                  EndDialog(dlg, 1); // dialog close                                  EndDialog(dlg, 1); // dialog close
2933                                  return TRUE;                                  return TRUE;
2934                          }                          }
# Line 2950  __declspec(dllexport) int CALLBACK TTXSc Line 2950  __declspec(dllexport) int CALLBACK TTXSc
2950          return SSH_start_scp(pvar, filename, dstfile);          return SSH_start_scp(pvar, filename, dstfile);
2951  }  }
2952    
2953    __declspec(dllexport) int CALLBACK TTXScpReceivefile(char *remotefile, char *localfile)
2954    {
2955            return SSH_scp_transaction(pvar, remotefile, localfile, FROMREMOTE);
2956    }
2957    
2958    
2959  static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam,  static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam,
2960                                       LPARAM lParam)                                       LPARAM lParam)
2961  {  {

Legend:
Removed from v.3089  
changed lines
  Added in v.3091

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26