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 >
Wrap
C/C++ Source or Header
|
1994-12-07
|
3KB
|
85 lines
#define CLASS_NAMES 101
#define SUPER_CLASSES 102
#define CONTAINMENT 103
#define NAMING_ATT 104
#define MANDATORY_ATT 105
#define OPTIONAL_ATT 106
#define EXIT_DLG 108
#define CLASS_FLAGS 107
#define ATTR_NAMES 109
#define DESCRIPTION 200
#define SYNTAX 201
#define LOWER 202
#define UPPER 203
#define ATTR_NAME 204
#define ATTR_FLAGS 101
#define EXIT_DLG2 102
char *syntax[29] =
{
"SYN_UNKNOWN", /* 0 */
"SYN_DIST_NAME", /* 1 */
"SYN_CE_STRING", /* 2 */
"SYN_CI_STRING", /* 3 */
"SYN_PR_STRING", /* 4 */
"SYN_NU_STRING", /* 5 */
"SYN_CI_LIST", /* 6 */
"SYN_BOOLEAN", /* 7 */
"SYN_INTEGER", /* 8 */
"SYN_OCTET_STRING", /* 9 */
"SYN_TEL_NUMBER", /* 10 */
"SYN_FAX_NUMBER", /* 11 */
"SYN_NET_ADDRESS", /* 12 */
"SYN_OCTET_LIST", /* 13 */
"SYN_EMAIL_ADDRESS", /* 14 */
"SYN_PATH", /* 15 */
"SYN_REPLICA_POINTER", /* 16 */
"SYN_OBJECT_ACL", /* 17 */
"SYN_PO_ADDRESS", /* 18 */
"SYN_TIMESTAMP", /* 19 */
"SYN_CLASS_NAME", /* 20 */
"SYN_STREAM", /* 21 */
"SYN_COUNTER", /* 22 */
"SYN_BACK_LINK", /* 23 */
"SYN_TIME", /* 24 */
"SYN_TYPED_NAME", /* 25 */
"SYN_HOLD", /* 26 */
"SYN_INTERVAL", /* 27 */
"SYNTAX_COUNT" /* 28 */
};
struct
{
WORD attrFlag;
char *szLabel;
char *szDesc;
}
attrFlagsInfo[]=
{
{DS_SINGLE_VALUED_ATTR, "Single Valued", "Attribute is single valued"},
{DS_SIZED_ATTR, "Sized Attribute", "Attribute has length or range limits"},
{DS_NONREMOVABLE_ATTR, "Non-Removable", "Attribute cannot be deleted"},
{DS_READ_ONLY_ATTR, "Read-Only Attribute", "Clients cannot add this attribute but can read it's value"},
{DS_HIDDEN_ATTR, "Hidden Attribute", "Clients can neither read nor write the attribute"},
{DS_STRING_ATTR, "String Attribute", "Attribute syntax is string"},
{DS_SYNC_IMMEDIATE, "Sync Immediate", "Changes to this attribute value should be immediately synchronized across partitions"},
{DS_PUBLIC_READ, "Public Read", "Anyone can read this attribute"},
{DS_SERVER_READ, "Server Read", "Server class objects can read attribute without inherited or explicit read right"}
};
struct
{
WORD classFlag;
char *szLabel;
}
classFlagsInfo[]=
{
{DS_CONTAINER_CLASS, "Container Class"},
{DS_EFFECTIVE_CLASS, "Effective Class"},
{DS_NONREMOVABLE_CLASS, "Non-Removable Class"},
{DS_AMBIGUOUS_NAMING, "Ambiguous Naming"},
{DS_AMBIGUOUS_CONTAINMENT, "Ambiguous Containment"}
};