home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / snapx2.exe / VWSCMA.EXE / VIEWSCMA.H < prev    next >
C/C++ Source or Header  |  1994-12-07  |  3KB  |  85 lines

  1. #define CLASS_NAMES   101
  2. #define SUPER_CLASSES 102
  3. #define CONTAINMENT   103
  4. #define NAMING_ATT    104
  5. #define MANDATORY_ATT 105
  6. #define OPTIONAL_ATT  106
  7. #define EXIT_DLG    108
  8. #define CLASS_FLAGS    107
  9. #define ATTR_NAMES    109
  10.  
  11. #define DESCRIPTION   200
  12. #define SYNTAX          201
  13. #define LOWER         202
  14. #define UPPER          203
  15. #define ATTR_NAME     204
  16. #define ATTR_FLAGS    101
  17. #define EXIT_DLG2     102
  18.  
  19. char *syntax[29] =
  20. {
  21.   "SYN_UNKNOWN",               /* 0  */
  22.   "SYN_DIST_NAME",             /* 1  */
  23.   "SYN_CE_STRING",             /* 2  */
  24.   "SYN_CI_STRING",             /* 3  */
  25.   "SYN_PR_STRING",             /* 4  */
  26.   "SYN_NU_STRING",             /* 5  */
  27.   "SYN_CI_LIST",               /* 6  */
  28.   "SYN_BOOLEAN",               /* 7  */
  29.   "SYN_INTEGER",               /* 8  */
  30.   "SYN_OCTET_STRING",          /* 9  */
  31.   "SYN_TEL_NUMBER",            /* 10 */
  32.   "SYN_FAX_NUMBER",            /* 11 */
  33.   "SYN_NET_ADDRESS",           /* 12 */
  34.   "SYN_OCTET_LIST",            /* 13 */
  35.   "SYN_EMAIL_ADDRESS",         /* 14 */
  36.   "SYN_PATH",                  /* 15 */
  37.   "SYN_REPLICA_POINTER",       /* 16 */
  38.   "SYN_OBJECT_ACL",            /* 17 */
  39.   "SYN_PO_ADDRESS",            /* 18 */
  40.   "SYN_TIMESTAMP",             /* 19 */
  41.   "SYN_CLASS_NAME",            /* 20 */
  42.   "SYN_STREAM",                /* 21 */
  43.   "SYN_COUNTER",               /* 22 */
  44.   "SYN_BACK_LINK",             /* 23 */
  45.   "SYN_TIME",                  /* 24 */
  46.   "SYN_TYPED_NAME",            /* 25 */
  47.   "SYN_HOLD",                  /* 26 */
  48.   "SYN_INTERVAL",              /* 27 */
  49.   "SYNTAX_COUNT"               /* 28 */
  50. };
  51.  
  52.  
  53. struct
  54. {
  55. WORD    attrFlag;
  56. char    *szLabel;
  57. char    *szDesc;
  58. }
  59. attrFlagsInfo[]=
  60. {
  61. {DS_SINGLE_VALUED_ATTR,    "Single Valued", "Attribute is single valued"}, 
  62. {DS_SIZED_ATTR,        "Sized Attribute", "Attribute has length or range limits"}, 
  63. {DS_NONREMOVABLE_ATTR,    "Non-Removable", "Attribute cannot be deleted"}, 
  64. {DS_READ_ONLY_ATTR,    "Read-Only Attribute", "Clients cannot add this attribute but can read it's value"}, 
  65. {DS_HIDDEN_ATTR,        "Hidden Attribute", "Clients can neither read nor write the attribute"},
  66. {DS_STRING_ATTR,        "String Attribute", "Attribute syntax is string"},
  67. {DS_SYNC_IMMEDIATE,    "Sync Immediate", "Changes to this attribute value should be immediately synchronized across partitions"},
  68. {DS_PUBLIC_READ,        "Public Read", "Anyone can read this attribute"},
  69. {DS_SERVER_READ,        "Server Read", "Server class objects can read attribute without inherited or explicit read right"}
  70. };
  71.  
  72. struct
  73. {
  74. WORD    classFlag;
  75. char    *szLabel;
  76. }
  77. classFlagsInfo[]=
  78. {DS_CONTAINER_CLASS,             "Container Class"},
  79. {DS_EFFECTIVE_CLASS,             "Effective Class"},
  80. {DS_NONREMOVABLE_CLASS,         "Non-Removable Class"},
  81. {DS_AMBIGUOUS_NAMING,         "Ambiguous Naming"},
  82. {DS_AMBIGUOUS_CONTAINMENT,     "Ambiguous Containment"}
  83. };
  84.