home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Backup / Backup.zip / bacrest.zip / PSNSRC.H < prev    next >
Text File  |  1999-10-05  |  6KB  |  95 lines

  1. /* ═══════════════════════════════ Module Header ══════════════════════════════ */
  2. /*    Name:                  PsnsRC.HPP                                         */
  3. /*    Description:           PSnS return codes                                  */
  4. /*    Part version:          1.0                                                */
  5. /*    Used in PSnS version:  5.1                                                */
  6. /*    Last update:           29/Aug/1997                                        */
  7. /*    Author:                James Austin                                       */
  8. /*    Owner:                 Michael Fabianski                                  */
  9. /* ──────────────────────────────────────────────────────────────────────────── */
  10. /*  OCO SOURCE MATERIALS                                                        */
  11. /*  IBM CONFIDENTIAL                                                            */
  12. /*  5622─884                                                                    */
  13. /*  Copyright (c) International Business Machines Corporation 1995, 1997        */
  14. /*                        All Rights Reserved                                   */
  15. /* ──────────────────────────────────────────────────────────────────────────── */
  16. /*    Change history:                                                           */
  17. /*          29/Aug/97  JA  Initial version created                              */
  18. /* ──────────────────────────────────────────────────────────────────────────── */
  19. /*  Description: PSnS API return codes                                          */
  20. /* ──────────────────────────────────────────────────────────────────────────── */
  21. /*  Dependencies:                                                               */
  22. /* ════════════════════════════════════════════════════════════════════════════ */
  23. #ifndef _PSNSRC_H_
  24. #define _PSNSRC_H_
  25.  
  26. #define PSNS_OK                                         0
  27. #define PSNS_NO_MORE_HANDLES                            1
  28. #define PSNS_DUPLICATE_CONNECTION                       2
  29. #define PSNS_UNKNOWN_ERROR                              3
  30. #define PSNS_HANDLE_IN_USE                              4
  31. #define PSNS_ALREADY_EXISTS                             5
  32. #define PSNS_ARCHIVE_ERROR                              6
  33. #define PSNS_INVALID_HANDLE                             7
  34. #define PSNS_INVALID_LIST_HANDLE                        8
  35. #define PSNS_INVALID_PARAMETER                          9
  36. #define PSNS_INVALID_BACKUP_METHOD                      10
  37. #define PSNS_INVALID_VOLUME                             11
  38. #define PSNS_INVALID_EVENT_TYPE                         12
  39. #define PSNS_INVALID_EVENT_OPTION                       13
  40. #define PSNS_INVALID_MASK                               14
  41. #define PSNS_INVALID_DRIVE_TYPE                         15
  42. #define PSNS_INVALID_GENERATIONS                        16
  43. #define PSNS_INVALID_RULEBOOK                           17
  44. #define PSNS_INVALID_FILE_FILTER                        18
  45. #define PSNS_INVALID_BACKUP_SET                         19
  46. #define PSNS_INVALID_RESTORE_METHOD                     20
  47. #define PSNS_INVALID_SOURCE_DRIVE                       21
  48. #define PSNS_INVALID_POSITION                           22
  49. #define PSNS_INVALID_EVENT                              23
  50. #define PSNS_INVALID_DRIVE                              24
  51. #define PSNS_INVALID_PATH                               25
  52. #define PSNS_INVALID_FILENAME                           26
  53. #define PSNS_ALREADY_ASSOCIATED                         27
  54. #define PSNS_INVALID_NAME                               28
  55. #define PSNS_INVALID_FILE_FILTER_TYPE                   29
  56. #define PSNS_INVALID_STORAGE_DEVICE_TYPE                30
  57. #define PSNS_INVALID_STORAGE_DEVICE                     31
  58. #define PSNS_IN_USE                                     32
  59. #define PSNS_CANNOT_DELETE                              33
  60. #define PSNS_FILE_NOT_FOUND                             34
  61. #define PSNS_INVALID_TIME                               35
  62. #define PSNS_NO_EVENTS                                  36
  63. #define PSNS_TOO_MUCH_DATA                              37
  64. #define PSNS_CANNOT_CONNECT                             38
  65. #define PSNS_INVALID_CONFIGURATION                      39
  66. #define PSNS_INVALID_PRIORITY                           40
  67. #define PSNS_INVALID_GENERATION                         41
  68. #define PSNS_TRANSFERRED_IN                             42
  69. #define PSNS_TRANSFERRED_OUT                            43
  70. #define PSNS_INVALID_COMPRESSION                        44
  71. #define PSNS_MALFORMED_METHOD                           45
  72. #define PSNS_INVALID_DATE                               46
  73. #define PSNS_READONLY                                   47
  74. #define PSNS_NOT_CONFIGURABLE                           48
  75. #define PSNS_INVALID_FLAGS                              49
  76. #define PSNS_COMMUNICATIONS_ERROR                       50
  77. #define PSNS_INVALID_RC                                 51
  78. #define PSNS_INDEX_DISKETTE                             52
  79. #define PSNS_FIXED_VOLUME                               53
  80. #define PSNS_INAPPROPRIATE_BACKUP_SET                   54
  81. #define PSNS_INVALID_KEYWORD                            55
  82. #define PSNS_INVALID_VALUE                              56
  83. #define PSNS_SYNTAX_ERROR                               57
  84. #define PSNS_INCOMPLETE_STRING                          58
  85. #define PSNS_SEMANTIC_ERROR                             59
  86. #define PSNS_ERROR_DURING_BACKUP                        60
  87. #define PSNS_ERROR_DURING_RESTORE                       61 
  88. #define PSNS_UNHANDLED_EXCEPTION                        62 
  89. #define REXX_INVALID_MASK_NAME                          63
  90. #define REXX_INVALID_PARAMETER                          64
  91. #define REXX_INVALID_HANDLE                             65
  92.  
  93. #endif
  94. /*___________________________________________________________________________*/
  95.