TextsCore.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. #ifndef TextsCoreH
  2. #define TextsCoreH
  3. #define UNKNOWN_KEY 1
  4. #define DIFFERENT_KEY 2
  5. #define OLD_KEY 3
  6. #define CORE_ERROR_STRINGS 100
  7. #define KEY_NOT_VERIFIED 101
  8. #define CONNECTION_FAILED 102
  9. #define USER_TERMINATED 103
  10. #define LOST_CONNECTION 104
  11. #define CANT_DETECT_RETURN_CODE 105
  12. #define COMMAND_FAILED 106
  13. #define COMMAND_FAILED_CODEONLY 107
  14. #define INVALID_OUTPUT_ERROR 108
  15. #define READ_CURRENT_DIR_ERROR 109
  16. #define SKIP_STARTUP_MESSAGE_ERROR 110
  17. #define CHANGE_DIR_ERROR 111
  18. #define LIST_DIR_ERROR 113
  19. #define LIST_LINE_ERROR 114
  20. #define RIGHTS_ERROR 115
  21. #define CLEANUP_CONFIG_ERROR 116
  22. #define CLEANUP_HOSTKEYS_ERROR 117
  23. #define CLEANUP_SEEDFILE_ERROR 118
  24. #define CLEANUP_SESSIONS_ERROR 119
  25. #define DETECT_RETURNVAR_ERROR 120
  26. #define LOOKUP_GROUPS_ERROR 121
  27. #define FILE_NOT_EXISTS 122
  28. #define CANT_GET_ATTRS 123
  29. #define OPENFILE_ERROR 124
  30. #define READ_ERROR 125
  31. #define COPY_FATAL 126
  32. #define TOREMOTE_COPY_ERROR 127
  33. #define TOLOCAL_COPY_ERROR 128
  34. #define SCP_EMPTY_LINE 129
  35. #define SCP_ILLEGAL_TIME_FORMAT 130
  36. #define SCP_INVALID_CONTROL_RECORD 131
  37. #define COPY_ERROR 132
  38. #define SCP_ILLEGAL_FILE_DESCRIPTOR 133
  39. #define NOT_DIRECTORY_ERROR 134
  40. #define CREATE_DIR_ERROR 135
  41. #define CREATE_FILE_ERROR 136
  42. #define WRITE_ERROR 137
  43. #define CANT_SET_ATTRS 138
  44. #define REMOTE_ERROR 139
  45. #define DELETE_FILE_ERROR 140
  46. #define LOG_ERROR 141
  47. #define LOG_OPENERROR 142
  48. #define RENAME_FILE_ERROR 143
  49. #define RENAME_CREATE_FILE_EXISTS 144
  50. #define RENAME_CREATE_DIR_EXISTS 145
  51. #define CHANGE_HOMEDIR_ERROR 146
  52. #define UNALIAS_ALL_ERROR 147
  53. #define ALIAS_GROUPLIST_ERROR 148
  54. #define UNSET_NATIONAL_ERROR 149
  55. #define FIRST_LINE_EXPECTED 150
  56. #define CLEANUP_INIFILE_ERROR 151
  57. #define ATTEMPT_TO_WRITE_TO_PARENT_DIR 152
  58. #define AUTHENTICATION_LOG 153
  59. #define AUTHENTICATION_FAILED 154
  60. #define NOT_CONNECTED 155
  61. #define SAVE_KEY_ERROR 156
  62. #define SSH_EXITCODE 158
  63. #define SFTP_INVALID_TYPE 159
  64. #define SFTP_VERSION_NOT_SUPPORTED 160
  65. #define SFTP_MESSAGE_NUMBER 161
  66. #define SFTP_STATUS_OK 162
  67. #define SFTP_STATUS_EOF 163
  68. #define SFTP_STATUS_NO_SUCH_FILE 164
  69. #define SFTP_STATUS_PERMISSION_DENIED 165
  70. #define SFTP_STATUS_FAILURE 166
  71. #define SFTP_STATUS_BAD_MESSAGE 167
  72. #define SFTP_STATUS_NO_CONNECTION 168
  73. #define SFTP_STATUS_CONNECTION_LOST 169
  74. #define SFTP_STATUS_OP_UNSUPPORTED 170
  75. #define SFTP_ERROR_FORMAT 171
  76. #define SFTP_STATUS_UNKNOWN 172
  77. #define READ_SYMLINK_ERROR 173
  78. #define EMPTY_DIRECTORY 174
  79. #define SFTP_NON_ONE_FXP_NAME_PACKET 175
  80. #define SFTP_REALPATH_ERROR 176
  81. #define CHANGE_PROPERTIES_ERROR 177
  82. #define SFTP_INITIALIZE_ERROR 178
  83. #define TIMEZONE_ERROR 179
  84. #define SFTP_CREATE_FILE_ERROR 180
  85. #define SFTP_OPEN_FILE_ERROR 181
  86. #define SFTP_CLOSE_FILE_ERROR 182
  87. #define NOT_FILE_ERROR 183
  88. #define RENAME_AFTER_RESUME_ERROR 184
  89. #define CREATE_LINK_ERROR 185
  90. #define INVALID_SHELL_COMMAND 186
  91. #define SFTP_SERVER_MESSAGE_UNSUPPORTED 187
  92. #define INVALID_OCTAL_PERMISSIONS 188
  93. #define SFTP_INVALID_EOL 189
  94. #define SFTP_UNKNOWN_FILE_TYPE 190
  95. #define SFTP_STATUS_INVALID_HANDLE 191
  96. #define SFTP_STATUS_NO_SUCH_PATH 192
  97. #define SFTP_STATUS_FILE_ALREADY_EXISTS 193
  98. #define SFTP_STATUS_WRITE_PROTECT 194
  99. #define SFTP_STATUS_NO_MEDIA 195
  100. #define DECODE_UTF_ERROR 196
  101. #define CUSTOM_COMMAND_ERROR 197
  102. #define LOCALE_LOAD_ERROR 198
  103. #define SFTP_INCOMPLETE_BEFORE_EOF 199
  104. #define CALCULATE_SIZE_ERROR 200
  105. #define SFTP_PACKET_TOO_BIG 201
  106. #define SCP_INIT_ERROR 202
  107. #define DUPLICATE_BOOKMARK 203
  108. #define MOVE_FILE_ERROR 204
  109. #define SFTP_PACKET_TOO_BIG_INIT_EXPLAIN 205
  110. #define PRESERVE_TIME_ERROR 206
  111. #define CORE_CONFIRMATION_STRINGS 300
  112. #define CONFIRM_PROLONG_TIMEOUT 301
  113. #define PROMPT_SESSION_PASSWORD 302
  114. #define PROMPT_KEY_PASSPHRASE 303
  115. #define FILE_OVERWRITE 304
  116. #define DIRECTORY_OVERWRITE 305
  117. #define CIPHER_BELOW_TRESHOLD 306
  118. #define CIPHER_TYPE_BOTH 307
  119. #define CIPHER_TYPE_CS 308
  120. #define CIPHER_TYPE_SC 309
  121. #define RESUME_TRANSFER 310
  122. #define PARTIAL_BIGGER_THAN_SOURCE 311
  123. #define APPEND_OR_RESUME 312
  124. #define FILE_OVERWRITE_DETAILS 313
  125. #define READ_ONLY_OVERWRITE 314
  126. #define CORE_INFORMATION_STRINGS 400
  127. #define YES_STR 401
  128. #define NO_STR 402
  129. #define SESSION_INFO_TIP 403
  130. #define VERSION 404
  131. #define CLOSED_ON_COMPLETION 405
  132. #define SFTP_PROTOCOL_NAME 406
  133. #define FS_RENAME_NOT_SUPPORTED 407
  134. #define SFTP_NO_EXTENSION_INFO 408
  135. #define SFTP_EXTENSION_INFO 409
  136. #define SCP_UNIX_NAME 410
  137. #define SCP_NO_UNIX_NAME 411
  138. #define CORE_VARIABLE_STRINGS 600
  139. #define PUTTY_BASED_ON 601
  140. #define PUTTY_VERSION 602
  141. #define PUTTY_COPYRIGHT 603
  142. #define PUTTY_URL 604
  143. #endif // TextsCore