Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ttssh2/ttxssh/ttxssh.h

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

revision 7632 by zmatsuo, Fri Apr 26 17:18:36 2019 UTC revision 7648 by zmatsuo, Mon May 6 13:41:50 2019 UTC
# Line 90  typedef struct _TInstVar *PTInstVar; Line 90  typedef struct _TInstVar *PTInstVar;
90  #include "tttypes.h"  #include "tttypes.h"
91  #include "ttplugin.h"  #include "ttplugin.h"
92    
93    #if defined(_MSC_VER) && _MSC_VER < 1910
94    // 2017未満のときは無効とする
95    #define _Printf_format_string_
96    #endif
97    
98  HANDLE hInst; /* Instance handle of TTXSSH.DLL */  HANDLE hInst; /* Instance handle of TTXSSH.DLL */
99    
100  #define ID_SSHSCPMENU       52110  #define ID_SSHSCPMENU       52110
# Line 356  void notify_closed_connection(PTInstVar Line 361  void notify_closed_connection(PTInstVar
361  void notify_nonfatal_error(PTInstVar pvar, char *msg);  void notify_nonfatal_error(PTInstVar pvar, char *msg);
362  void notify_fatal_error(PTInstVar pvar, char *msg, BOOL send_disconnect);  void notify_fatal_error(PTInstVar pvar, char *msg, BOOL send_disconnect);
363  void logputs(int level, char *msg);  void logputs(int level, char *msg);
364  void logprintf(int level, char *fmt, ...);  #if defined(_MSC_VER)
365  void logprintf_hexdump(int level, char *data, int len, char *fmt, ...);  void logprintf(int level, _Printf_format_string_ const char *fmt, ...);
366    void logprintf_hexdump(int level, const char *data, int len, _Printf_format_string_ const char *fmt, ...);
367    #elif defined(__GNUC__)
368    void logprintf(int level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
369    void logprintf_hexdump(int level, const char *data, int len, const char *fmt, ...) __attribute__ ((format (printf, 4, 5)));
370    #else
371    void logprintf(int level, const char *fmt, ...);
372    void logprintf_hexdump(int level, const char *data, int len, const char *fmt, ...);
373    #endif
374    
375  void get_teraterm_dir_relative_name(char *buf, int bufsize, char *basename);  void get_teraterm_dir_relative_name(char *buf, int bufsize, char *basename);
376  int copy_teraterm_dir_relative_path(char *dest, int destsize, char *basename);  int copy_teraterm_dir_relative_path(char *dest, int destsize, char *basename);

Legend:
Removed from v.7632  
changed lines
  Added in v.7648

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