! ******************************************************************************************************************************** ! Created: 15-NOV-1996 19:40:03 by OpenVMS SDL EV1-49 ! Source: 19-FEB-1996 16:54:43 N6_A_AXP_NEBRASKA_RESD$:[DNS.SRC]DNSDEF.SDL;1 ! ******************************************************************************************************************************** !*** MODULE $dnsdef IDENT X-17 *** ! ! ************************************************************************* ! Copyright (C) 1987, 1991 by * ! DIGITAL Equipment Corporation, Maynard, Mass. * ! * ! This software is furnished under a license and may be used and copied * ! only in accordance with the terms of such license and with the * ! inclusion of the above copyright notice. This software or any other * ! copies thereof may not be provided or otherwise made available to any * ! other person. No title to or ownership of the software is hereby * ! transferred. * ! * ! The information in this software is subject to change without notice * ! and should not be construed as a commitment by DIGITAL Equipment * ! Corporation. * ! * ! DIGITAL assumes no responsibility for the use or reliability of its * ! software on equipment which is not supplied by DIGITAL. * ! * ! ************************************************************************* ! ! ! FACILITY: VMS Clerk for DNA Naming Service ! ! ABSTRACT: VMSclerk User accessible data structures ! ! ! ! Architectural Constants ! literal dns$k_simplestrmax = 255; ! max size simple name string literal dns$k_fullstrmax = 512; ! max size full name string literal dns$k_simplenamemax = 257; ! max size of opaque simple name literal dns$k_fullnamemax = 402; ! max size of opaqaue full name literal dns$k_classsize = 31; ! max size of class name length literal dns$k_maxattribute = 4000; ! longest attribute member literal dns$k_present = 1; ! Attr. Value is present literal dns$k_absent = 0; ! Attr. Value is not present literal dns$k_timeout_size = 16; ! size of timeout opaque struct literal dns$k_cts_length = 14; ! size of DNS CTSs literal dns$k_uid_length = 14; ! size of DNS UIDs - V1 compatibility ! ! Function codes for $DNS service ! ! literal dns$_enumerate_attributes = 1; literal dns$_read_attribute = 2; literal dns$_test_attribute = 4; literal dns$_create_object = 5; literal dns$_enumerate_objects = 6; literal dns$_delete_object = 7; literal dns$_create_directory = 8; literal dns$_delete_directory = 9; literal dns$_add_replica = 10; literal dns$_remove_replica = 11; literal dns$_enumerate_children = 12; literal dns$_skulk = 13; literal dns$_create_link = 14; literal dns$_remove_link = 15; literal dns$_delete_link = 15; literal dns$_resolve_name = 16; literal dns$_test_group = 17; literal dns$_create_child_entry = 18; literal dns$_enumerate_softlinks = 19; literal dns$_delete_child_entry = 20; literal dns$_read_replica = 21; literal dns$_modify_replica = 22; literal dns$_link_replica = 23; literal dns$_combine = 24; literal dns$_do_update = 25; literal dns$_modify_attribute = 30; literal dns$_parse_fullname_string = 31; literal dns$_full_opaque_to_string = 32; literal dns$_parse_simplename_string = 33; literal dns$_simple_opaque_to_string = 34; literal dns$_allow_ch = 35; literal dns$_disallow_ch = 36; literal dns$_new_epoch = 37; literal dns$_create_cts = 38; literal dns$_func_limit = 39; ! ! Item list entries for parameters to the various Clerk calls ! literal dns$_attributename = 3; literal dns$_class = 9; literal dns$_classfilter = 11; literal dns$_clearinghouse = 13; literal dns$_conf = 14; literal dns$_contextvarname = 16; literal dns$_contextvartime = 17; literal dns$_directory = 19; literal dns$_entry = 22; literal dns$_fromexternalname = 24; literal dns$_fromfullname = 25; literal dns$_fromsimplename = 26; literal dns$_group = 28; literal dns$_inoutdirect = 29; literal dns$_linkname = 31; literal dns$_lookingfor = 32; literal dns$_maybemore = 34; literal dns$_member = 36; literal dns$_objectname = 40; literal dns$_outattributeset = 43; literal dns$_outchildren = 45; literal dns$_outobjects = 48; literal dns$_outvalues = 50; literal dns$_outsoftlinks = 53; literal dns$_targetname = 58; literal dns$_timeout = 59; literal dns$_toexternalname = 60; literal dns$_tofullname = 61; literal dns$_tosimplename = 62; literal dns$_outname = 64; literal dns$_outcts = 65; literal dns$_outuid = 65; literal dns$_value = 68; literal dns$_version = 69; literal dns$_wait = 70; literal dns$_wildcard = 72; literal dns$_modoperation = 73; literal dns$_modvalue = 74; literal dns$_attributetype = 76; literal dns$_tostringname = 77; literal dns$_fromstringname = 78; literal dns$_nextchar_ptr = 79; literal dns$_suppress_nsname = 80; literal dns$_outvalset = 81; literal dns$_outconf = 82; literal dns$_inoutreturnclass = 84; literal dns$_ignorestate = 85; literal dns$_secondaryset = 86; literal dns$_readonlyset = 87; literal dns$_param_limit = 88; ! ! Definitions of confidence level parameter ! literal dns$k_low = 1; ! literal dns$k_medium = 2; ! literal dns$k_high = 3; ! ! ! Definitions of attribute types ! literal dns$k_single = 2; ! Single valued attribute literal dns$k_set = 3; ! Set attribute ! ! Definitions of entry type for LookingFor parameter ! literal dns$k_directory = 1; ! literal dns$k_object = 2; ! literal dns$k_childdirectory = 3; ! literal dns$k_softlink = 4; ! literal dns$k_clearinghouse = 5; ! ! ! CLASSVERSION - DNS Class version structure ! ! Used by the create object call to indicate object version number. ! MAJOR_NUMBER.MINOR_NUMBER ! ! literal dns$S_$dnscversdef = 2; macro dns$b_c_major = 0,0,8,0 %; ! Major number of class macro dns$b_c_minor = 1,0,8,0 %; ! Minor number of class ! ! GRPMEM - DNS GroupMember structure ! ! Used in the DNS$Members attribute of a group object to denote ! group membership. ! ! literal dns$k_grpmem_not_group = 0; ! member is not a group literal dns$k_grpmem_is_group = 1; ! member is a group ! literal dns$S_$dnsgrpmemdef = 1; macro dns$b_grpmem_type = 0,0,8,0 %; ! indicates whether member is itself a group macro dns$a_grpmem_member = 1,0,0,0 %; ! FullName of group member ! ! ATTRSPEC DNS attribute specifier structure. ! Structure of values returned by the Enumerate_Attributes call. ! literal dns$k_spec_fixed = 1; ! Length of fixed portion literal dns$S_$dnsattrspecdef = 1; macro dns$b_spec_flag = 0,0,8,0 %; ! type of attribute dns$k_single ! or dns$k_set macro dns$a_spec_name = 1,0,0,0 %; ! simplename of attribute ! ! itm - Generic item list entry ! literal dns$k_itm_length = 12; literal dns$S_$dnsitmdef = 12; macro dns$w_itm_size = 0,0,16,0 %; ! Length in bytes of item macro dns$w_itm_code = 2,0,16,0 %; ! Item code macro dns$a_itm_address = 4,0,32,0 %; ! Address of item value macro dns$a_itm_ret_length = 8,0,32,0 %; ! Address to return word length ! ! DNS request status block ! literal dns$S_$dnsb = 8; macro dns$l_dnsb_status = 0,0,32,0 %; ! DNSB completion status macro dns$v_dnsb_inoutdirect = 4,0,1,0 %; ! macro dns$v_dnsb_outlinked = 4,1,1,0 %; ! macro dns$v_dnsb_filler = 4,2,30,0 %; literal dns$s_dnsb_filler = 30;