! ******************************************************************************************************************************** ! Created: 23-Jun-2006 19:42:20 by OpenVMS SDL EV2-1 ! Source: 03-FEB-1997 17:19:46 WY_IA64_WY_RESD$:[DNS.SRC]DNSDEF.SDL;1 ! ******************************************************************************************************************************** !*** MODULE $dnsdef IDENT X-18 *** !DEC$ OPTIONS/ALIGN=(RECORDS=PACKED,COMMONS=PACKED)/NOWARN ! ! ************************************************************************* ! 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 ! PARAMETER dns$k_simplestrmax = '000000FF'X ! max size simple name string PARAMETER dns$k_fullstrmax = '00000200'X ! max size full name string PARAMETER dns$k_simplenamemax = '00000101'X ! max size of opaque simple name PARAMETER dns$k_fullnamemax = '00000192'X ! max size of opaqaue full name PARAMETER dns$k_classsize = '0000001F'X ! max size of class name length PARAMETER dns$k_maxattribute = '00000FA0'X ! longest attribute member PARAMETER dns$k_present = '00000001'X ! Attr. Value is present PARAMETER dns$k_absent = '00000000'X ! Attr. Value is not present PARAMETER dns$k_timeout_size = '00000010'X ! size of timeout opaque struct PARAMETER dns$k_cts_length = '0000000E'X ! size of DNS CTSs PARAMETER dns$k_uid_length = '0000000E'X ! size of DNS UIDs - V1 compatibility ! ! Function codes for $DNS service ! ! PARAMETER dns$_enumerate_attributes = '00000001'X PARAMETER dns$_read_attribute = '00000002'X PARAMETER dns$_test_attribute = '00000004'X PARAMETER dns$_create_object = '00000005'X PARAMETER dns$_enumerate_objects = '00000006'X PARAMETER dns$_delete_object = '00000007'X PARAMETER dns$_create_directory = '00000008'X PARAMETER dns$_delete_directory = '00000009'X PARAMETER dns$_add_replica = '0000000A'X PARAMETER dns$_remove_replica = '0000000B'X PARAMETER dns$_enumerate_children = '0000000C'X PARAMETER dns$_skulk = '0000000D'X PARAMETER dns$_create_link = '0000000E'X PARAMETER dns$_remove_link = '0000000F'X PARAMETER dns$_delete_link = '0000000F'X PARAMETER dns$_resolve_name = '00000010'X PARAMETER dns$_test_group = '00000011'X PARAMETER dns$_create_child_entry = '00000012'X PARAMETER dns$_enumerate_softlinks = '00000013'X PARAMETER dns$_delete_child_entry = '00000014'X PARAMETER dns$_read_replica = '00000015'X PARAMETER dns$_modify_replica = '00000016'X PARAMETER dns$_link_replica = '00000017'X PARAMETER dns$_combine = '00000018'X PARAMETER dns$_do_update = '00000019'X PARAMETER dns$_modify_attribute = '0000001E'X PARAMETER dns$_parse_fullname_string = '0000001F'X PARAMETER dns$_full_opaque_to_string = '00000020'X PARAMETER dns$_parse_simplename_string = '00000021'X PARAMETER dns$_simple_opaque_to_string = '00000022'X PARAMETER dns$_allow_ch = '00000023'X PARAMETER dns$_disallow_ch = '00000024'X PARAMETER dns$_new_epoch = '00000025'X PARAMETER dns$_create_cts = '00000026'X PARAMETER dns$_func_limit = '00000027'X ! ! Item list entries for parameters to the various Clerk calls ! PARAMETER dns$_attributename = '00000003'X PARAMETER dns$_class = '00000009'X PARAMETER dns$_classfilter = '0000000B'X PARAMETER dns$_clearinghouse = '0000000D'X PARAMETER dns$_conf = '0000000E'X PARAMETER dns$_contextvarname = '00000010'X PARAMETER dns$_contextvartime = '00000011'X PARAMETER dns$_directory = '00000013'X PARAMETER dns$_entry = '00000016'X PARAMETER dns$_fromexternalname = '00000018'X PARAMETER dns$_fromfullname = '00000019'X PARAMETER dns$_fromsimplename = '0000001A'X PARAMETER dns$_group = '0000001C'X PARAMETER dns$_inoutdirect = '0000001D'X PARAMETER dns$_linkname = '0000001F'X PARAMETER dns$_lookingfor = '00000020'X PARAMETER dns$_maybemore = '00000022'X PARAMETER dns$_member = '00000024'X PARAMETER dns$_objectname = '00000028'X PARAMETER dns$_outattributeset = '0000002B'X PARAMETER dns$_outchildren = '0000002D'X PARAMETER dns$_outobjects = '00000030'X PARAMETER dns$_outvalues = '00000032'X PARAMETER dns$_outsoftlinks = '00000035'X PARAMETER dns$_targetname = '0000003A'X PARAMETER dns$_timeout = '0000003B'X PARAMETER dns$_toexternalname = '0000003C'X PARAMETER dns$_tofullname = '0000003D'X PARAMETER dns$_tosimplename = '0000003E'X PARAMETER dns$_outname = '00000040'X PARAMETER dns$_outcts = '00000041'X PARAMETER dns$_outuid = '00000041'X PARAMETER dns$_value = '00000044'X PARAMETER dns$_version = '00000045'X PARAMETER dns$_wait = '00000046'X PARAMETER dns$_wildcard = '00000048'X PARAMETER dns$_modoperation = '00000049'X PARAMETER dns$_modvalue = '0000004A'X PARAMETER dns$_attributetype = '0000004C'X PARAMETER dns$_tostringname = '0000004D'X PARAMETER dns$_fromstringname = '0000004E'X PARAMETER dns$_nextchar_ptr = '0000004F'X PARAMETER dns$_suppress_nsname = '00000050'X PARAMETER dns$_outvalset = '00000051'X PARAMETER dns$_outconf = '00000052'X PARAMETER dns$_inoutreturnclass = '00000054'X PARAMETER dns$_ignorestate = '00000055'X PARAMETER dns$_secondaryset = '00000056'X PARAMETER dns$_readonlyset = '00000057'X PARAMETER dns$_param_limit = '00000058'X ! ! Definitions of confidence level parameter ! PARAMETER dns$k_low = '00000001'X ! PARAMETER dns$k_medium = '00000002'X ! PARAMETER dns$k_high = '00000003'X ! ! ! Definitions of attribute types ! PARAMETER dns$k_single = '00000002'X ! Single valued attribute PARAMETER dns$k_set = '00000003'X ! Set attribute ! ! Definitions of entry type for LookingFor parameter ! PARAMETER dns$k_directory = '00000001'X ! PARAMETER dns$k_object = '00000002'X ! PARAMETER dns$k_childdirectory = '00000003'X ! PARAMETER dns$k_softlink = '00000004'X ! PARAMETER dns$k_clearinghouse = '00000005'X ! ! ! CLASSVERSION - DNS Class version structure ! ! Used by the create object call to indicate object version number. ! MAJOR_NUMBER.MINOR_NUMBER ! ! STRUCTURE /dnscversdef/ BYTE dns$b_c_major ! Major number of class BYTE dns$b_c_minor ! Minor number of class END STRUCTURE ! dnscversdef ! ! GRPMEM - DNS GroupMember structure ! ! Used in the DNS$Members attribute of a group object to denote ! group membership. ! ! PARAMETER dns$k_grpmem_not_group = '00000000'X ! member is not a group PARAMETER dns$k_grpmem_is_group = '00000001'X ! member is a group ! STRUCTURE /dnsgrpmemdef/ BYTE dns$b_grpmem_type ! indicates whether member is itself a group ! unsupported type CHARACTER*0 dns$a_grpmem_member ! FullName of group member END STRUCTURE ! dnsgrpmemdef ! ! ATTRSPEC DNS attribute specifier structure. ! Structure of values returned by the Enumerate_Attributes call. ! PARAMETER dns$k_spec_fixed = '00000001'X ! Length of fixed portion STRUCTURE /dnsattrspecdef/ BYTE dns$b_spec_flag ! type of attribute dns$k_single ! or dns$k_set ! unsupported type CHARACTER*0 dns$a_spec_name ! simplename of attribute END STRUCTURE ! dnsattrspecdef ! ! itm - Generic item list entry ! PARAMETER dns$k_itm_length = '0000000C'X STRUCTURE /dnsitmdef/ INTEGER*2 dns$w_itm_size ! Length in bytes of item INTEGER*2 dns$w_itm_code ! Item code INTEGER*4 dns$a_itm_address ! Address of item value INTEGER*4 dns$a_itm_ret_length ! Address to return word length END STRUCTURE ! dnsitmdef ! ! DNS request status block ! STRUCTURE /dnsb/ INTEGER*4 dns$l_dnsb_status ! DNSB completion status PARAMETER dns$S_dnsb_inoutdirect = 1 PARAMETER dns$V_dnsb_inoutdirect = 32 ! PARAMETER dns$S_dnsb_outlinked = 1 PARAMETER dns$V_dnsb_outlinked = 33 ! PARAMETER dns$S_dnsb_filler = 30 PARAMETER dns$V_dnsb_filler = 34 BYTE %FILL (4) END STRUCTURE ! dnsb !DEC$ END OPTIONS