2 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
27 DNSServiceDiscoveryRequest 7200;
29 ServerPrefix provide_;
31 #include <mach/std_types.defs>
32 #include <mach/mach_types.defs>
34 import "DNSServiceDiscoveryDefines.h";
36 type DNSCString = c_string[*:1024];
37 type record_data = ^ array [] of MACH_MSG_TYPE_BYTE
40 simpleroutine DNSServiceBrowserCreate_rpc(
42 in client: mach_port_t;
43 in regtype: DNSCString;
44 in domain: DNSCString);
47 simpleroutine DNSServiceDomainEnumerationCreate_rpc(
49 in client: mach_port_t;
50 in registrationDomains: int);
52 simpleroutine DNSServiceRegistrationCreate_rpc(
54 in client: mach_port_t;
56 in regtype: DNSCString;
57 in domain: DNSCString;
59 in txtRecord: DNSCString);
62 simpleroutine DNSServiceResolverResolve_rpc(
64 in client: mach_port_t;
66 in regtype: DNSCString;
67 in domain: DNSCString);
69 routine DNSServiceRegistrationAddRecord_rpc(
71 in client: mach_port_t;
73 in record_data: record_data;
75 out record_reference: natural_t);
77 simpleroutine DNSServiceRegistrationUpdateRecord_rpc(
79 in client: mach_port_t;
80 in record_reference: natural_t;
81 in record_data: record_data;
84 simpleroutine DNSServiceRegistrationRemoveRecord_rpc(
86 in client: mach_port_t;
87 in record_reference: natural_t);