Develop and Download Open Source Software

Browse Subversion Repository

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

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

revision 6738 by maya, Sat May 20 06:38:01 2017 UTC revision 6801 by doda, Tue Jun 13 10:30:12 2017 UTC
# Line 64  See LICENSE.TXT for the license. Line 64  See LICENSE.TXT for the license.
64  #include "i18n.h"  #include "i18n.h"
65  #include "ttlib.h"  #include "ttlib.h"
66    
67  typedef struct _TInstVar FAR * PTInstVar;  typedef struct _TInstVar *PTInstVar;
68    
69  #include "util.h"  #include "util.h"
70  #include "pkt.h"  #include "pkt.h"
# Line 198  typedef struct _TInstVar { Line 198  typedef struct _TInstVar {
198    
199          /* shared memory for settings across instances. Basically it's          /* shared memory for settings across instances. Basically it's
200             a cache for the INI file.*/             a cache for the INI file.*/
201          TS_SSH FAR * ts_SSH;          TS_SSH *ts_SSH;
202    
203          int fatal_error;          int fatal_error;
204          int showing_err;          int showing_err;
205          char FAR * err_msg;          char *err_msg;
206    
207          Tconnect Pconnect;          Tconnect Pconnect;
208          Trecv Precv;          Trecv Precv;
# Line 339  typedef struct _TInstVar { Line 339  typedef struct _TInstVar {
339  #define SSHv2(pvar) ((pvar)->protocol_major == 2)  #define SSHv2(pvar) ((pvar)->protocol_major == 2)
340    
341  void notify_established_secure_connection(PTInstVar pvar);  void notify_established_secure_connection(PTInstVar pvar);
342  void notify_closed_connection(PTInstVar pvar, char FAR * send_msg);  void notify_closed_connection(PTInstVar pvar, char *send_msg);
343  void notify_nonfatal_error(PTInstVar pvar, char FAR * msg);  void notify_nonfatal_error(PTInstVar pvar, char *msg);
344  void notify_fatal_error(PTInstVar pvar, char FAR * msg, BOOL send_disconnect);  void notify_fatal_error(PTInstVar pvar, char *msg, BOOL send_disconnect);
345  void notify_verbose_message(PTInstVar pvar, char FAR * msg, int level);  void notify_verbose_message(PTInstVar pvar, char *msg, int level);
346  void logprintf(PTInstVar pvar, int level, char *fmt, ...);  void logprintf(PTInstVar pvar, int level, char *fmt, ...);
347  void logprintf_hexdump(PTInstVar pvar, int level, char *data, int len, char *fmt, ...);  void logprintf_hexdump(PTInstVar pvar, int level, char *data, int len, char *fmt, ...);
348    
349    
350  void get_teraterm_dir_relative_name(char FAR * buf, int bufsize, char FAR * basename);  void get_teraterm_dir_relative_name(char *buf, int bufsize, char *basename);
351  int copy_teraterm_dir_relative_path(char FAR * dest, int destsize, char FAR * basename);  int copy_teraterm_dir_relative_path(char *dest, int destsize, char *basename);
352  void get_file_version(char *exefile, int *major, int *minor, int *release, int *build);  void get_file_version(char *exefile, int *major, int *minor, int *release, int *build);
353  int uuencode(unsigned char *src, int srclen, unsigned char *target, int targsize);  int uuencode(unsigned char *src, int srclen, unsigned char *target, int targsize);
354    

Legend:
Removed from v.6738  
changed lines
  Added in v.6801

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