home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma64.dms / ma64.adf / FTPMount-1.0 / Source / strings.h < prev    next >
C/C++ Source or Header  |  1995-12-10  |  6KB  |  234 lines

  1. /*
  2.  * This source file is Copyright 1995 by Evan Scott.
  3.  * All rights reserved.
  4.  * Permission is granted to distribute this file provided no
  5.  * fees beyond distribution costs are levied.
  6.  */
  7.  
  8. #define MSG_HOTKEY (0)
  9. #define MSG_HOSTS (1)
  10. #define MSG_CANT_FIND_HOSTS (2)
  11. #define MSG_FTPM_STARTUP_ERROR (3)
  12. #define MSG_OK (4)
  13. #define MSG_TCP_HANDLER (5)
  14. #define MSG_SERVICE (6)
  15. #define MSG_CANT_LAUNCH_TCP (7)
  16. #define MSG_LOCAL_HANDLER (8)
  17. #define MSG_CANT_LAUNCH_LOCAL (9)
  18. #define MSG_CONTINUE_EXIT (10)
  19. #define MSG_USER (11)
  20. #define MSG_HOST (12)
  21. #define MSG_USER_NOT_SET (13)
  22. #define MSG_HOST_NOT_SET (14)
  23. #define MSG_USER_HOST_NOT_SET (15)
  24. #define MSG_VOLUME (16)
  25. #define MSG_STATUS_HANDLER (17)
  26. #define MSG_CANT_LAUNCH_STATUS (18)
  27. #define MSG_UNKNOWN (19)
  28. #define MSG_RETRY_MORE_CANCEL (20)
  29. #define MSG_RETRY_CANCEL (21)
  30. #define MSG_MORE_OK (22)
  31. #define MSG_OPERATIONAL_ERROR (23)
  32. #define MSG_OOM_ROOT (24)
  33. #define MSG_PWD_GARBAGE (25)
  34. #define MSG_FAILED_PWD (26)
  35. #define MSG_ERROR_READING_PWD (27)
  36. #define MSG_ERROR_REQUESTING_PWD (28)
  37. #define MSG_ERROR_READING_TYPE (29)
  38. #define MSG_ERROR_SETTING_TYPE (30)
  39. #define MSG_LOGIN_SUCCEEDED_NO_PASS (31)
  40. #define MSG_LOGIN_SUCCEEDED (32)
  41. #define MSG_LOGIN_FAILED (33)
  42. #define MSG_ACCT_REQUESTED (34)
  43. #define MSG_LOGIN_INCORRECT (35)
  44. #define MSG_LOGIN_FAILED_PASS (36)
  45. #define MSG_LOGIN_ERROR (37)
  46. #define MSG_LOST_CONN_DURING_LOGIN_PASS (38)
  47. #define MSG_GARBAGE_RECEIVED_PASS (39)
  48. #define MSG_TEMP_LOGIN_FAILURE_USER (40)
  49. #define MSG_LOGIN_FAILED_USER (41)
  50. #define MSG_LOST_CONN_DURING_LOGIN (42)
  51. #define MSG_GARBAGE_RECEIVED_USER (43)
  52. #define MSG_ERROR_USER_RESPONSE (44)
  53. #define MSG_ERROR_WRITING_PASS (45)
  54. #define MSG_ERROR_WRITING_USER (46)
  55. #define MSG_CONNECT_ERROR (47)
  56. #define MSG_AMITCP_NOT_RUNNING (48)
  57. #define MSG_HOST_UNKNOWN (49)
  58. #define MSG_HOST_UNREACHABLE (50)
  59. #define MSG_FTP_REFUSED (51)
  60. #define MSG_CANT_CONNECT (52)
  61. #define MSG_LOST_CONN_DURING_INTRO (53)
  62. #define MSG_GARBAGE_DURING_INTRO (54)
  63. #define MSG_ERROR_DURING_INTRO (55)
  64. #define MSG_CONN_DELAY (56)
  65. #define MSG_TEMP_CONN_FAILURE (57)
  66. #define MSG_CONN_FAILED (58)
  67. #define MSG_CONNECTING_TO (59)
  68. #define MSG_CONNECTING (60)
  69. #define MSG_LOGIN_TO (61)
  70. #define MSG_USER_NAME (62)
  71. #define MSG_PASSWORD_NAME (63)
  72. #define MSG_CURRENT_SITES (64)
  73. #define MSG_STATE_UNKNOWN (65)
  74. #define MSG_STATE_DISCONNECTED (66)
  75. #define MSG_STATE_CONNECTING (67)
  76. #define MSG_STATE_IDLE (68)
  77. #define MSG_STATE_DISCONNECTING (69)
  78. #define MSG_STATE_LISTING (70)
  79. #define MSG_STATE_CD (71)
  80. #define MSG_STATE_OPENING (72)
  81. #define MSG_STATE_CLOSING (73)
  82. #define MSG_STATE_READING (74)
  83. #define MSG_STATE_WRITING (75)
  84. #define MSG_STATE_LOGIN (76)
  85. #define MSG_STATE_ABORTING (77)
  86. #define MSG_STATE_DELETING (78)
  87. #define MSG_STATE_MAKEDIR (79)
  88. #define MSG_STATE_RENAMING (80)
  89. #define MSG_STATE_PAD1 (81)
  90. #define MSG_STATE_PAD2 (82)
  91. #define MSG_STATE_PAD3 (83)
  92. #define MSG_QUICK_FLAG (84)
  93. #define MSG_BROKER_NAME (85)
  94. #define MSG_BROKER_DESCR (86)
  95. #define MSG_USER_TT (87)
  96. #define MSG_PASSWORD_TT (88)
  97. #define MSG_STATUS_TT (89)
  98. #define MSG_QUICK_TT (90)
  99. #define MSG_HOST_TT (91)
  100. #define MSG_ROOT_TT (92)
  101. #define MSG_CANCEL (93)
  102. #define MSG_ABORT (94)
  103. #define MSG_DISCONNECT (95)
  104. #define MSG_LOGIN (96)
  105. #define MSG_ERROR_RESPONSE_PASS (97)
  106. #define MSG_OFF (98)
  107. #define MSG_FALSE (99)
  108. #define MSG_CASE_TT (100)
  109. #define MSG_SLOW_TT (101)
  110. #define MSG_MESSAGES_TT (102)
  111. #define MSG_ALL (103)
  112. #define MSG_NONE (104)
  113. #define MSG_ERROR (105)
  114. #define MSG_DEFAULT (106)
  115. #define MSG_PORT_TT (107)
  116.  
  117. #define NUM_MSGS 108
  118.  
  119. #ifdef DECLARE_GLOBALS_HERE
  120. b8 *strings[] = {
  121.     "ctrl alt f",
  122.     "Hosts",
  123.     "Can't find Hosts dir",
  124.     "FTPMount startup error",
  125.     "Ok",
  126.     "(FTPMount) TCP Handler",
  127.     "ftp",
  128.     "Can't launch TCP handler",
  129.     "(FTPMount) local handler",
  130.     "Can't launch local handler",
  131.     "Continue|Exit",
  132.     "USER",
  133.     "HOST",
  134.     "USER environment variable not set\nAnonymous login with %s\nused as your address",
  135.     "HOST environment variable not set\nAnonymous login with %s\nused as your address",
  136.     "USER and HOST environment variables not set\nAnonymous login with %s\nused as your address",
  137.     "FTPMount",
  138.     "(FTPMount) status handler",
  139.     "Can't launch status handler",
  140.     "Unknown condition (low on memory?)",
  141.     "Retry|More ...|Cancel",
  142.     "Retry|Cancel",
  143.     "More ...|Ok",
  144.     "Operational error",
  145.     "Out of memory for root string",
  146.     "PWD response is unintelligible",
  147.     "Failed to get PWD response",
  148.     "Error reading PWD response",
  149.     "Error while requesting PWD",
  150.     "Error while reading TYPE I response",
  151.     "Error while setting TYPE I",
  152.     "Login succeeded (no password required)",
  153.     "Login succeeded",
  154.     "Login failed",
  155.     "ACCT requested",
  156.     "Login incorrect",
  157.     "Login failed (PASS)",
  158.     "Login error",
  159.     "Lost connection during login (passwd)",
  160.     "Garbage received from remote site (passwd)",
  161.     "Temporary login failure (USER)",
  162.     "Login failed (USER)",
  163.     "Lost connection during login",
  164.     "Garbage received from remote site",
  165.     "Error reading response to login",
  166.     "Error writing PASS",
  167.     "Error writing USER",
  168.     "Connect error",
  169.     "AmiTCP is not running",
  170.     "Host %s is unknown",
  171.     "Host %s is unreachable",
  172.     "FTP connection to %s has been refused",
  173.     "Can't connect to %s (%ld)",
  174.     "Lost connection during intro",
  175.     "Garbage received from %s",
  176.     "Error reading introduction",
  177.     "Connection delay ...",
  178.     "Temporary connection failure ...",
  179.     "Connection failed ...",
  180.     "Connecting to ",
  181.     "Connecting ...",
  182.     "Login to %s",
  183.     "User",
  184.     "Password",
  185.     "Current sites",
  186.     "Unknown",
  187.     "Disconnected",
  188.     "Connecting",
  189.     "Idle",
  190.     "Disconnecting",
  191.     "Listing",
  192.     "Changing Directories",
  193.     "Opening File",
  194.     "Closing File",
  195.     "Reading",
  196.     "Writing",
  197.     "Logging in",
  198.     "Aborting",
  199.     "Deleting",
  200.     "Making Directory",
  201.     "Renaming",
  202.     "Pad 1",
  203.     "Pad 2",
  204.     "Pad 3",
  205.     " (Q) ",
  206.     "FTPMount Status",
  207.     "Status and control of FTPMount",
  208.     "USER",
  209.     "PASSWORD",
  210.     "STATUS",
  211.     "QUICK",
  212.     "HOST",
  213.     "ROOT",
  214.     "Cancel",
  215.     "Abort",
  216.     "Disconnect",
  217.     "Login",
  218.     "Error reading response to password",
  219.     "off",
  220.     "false",
  221.     "CASE",
  222.     "SLOW",
  223.     "MESSAGES",
  224.     "ALL",
  225.     "NONE",
  226.     "ERROR",
  227.     "Default",
  228.     "PORT"
  229. };
  230. #else
  231. extern b8 *strings[NUM_MSGS];
  232. #endif
  233.  
  234.