]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSMacOSX/DNSServiceDiscoveryReply.defs
mDNSResponder-58.tar.gz
[apple/mdnsresponder.git] / mDNSMacOSX / DNSServiceDiscoveryReply.defs
1 /*
2 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23
24 subsystem
25 DNSServiceDiscoveryReply 7250;
26
27 ServerPrefix internal_;
28
29 #include <mach/std_types.defs>
30 #include <mach/mach_types.defs>
31
32 import "DNSServiceDiscoveryDefines.h";
33
34 type DNSCString = c_string[*:1024];
35 type sockaddr_t = array[128] of char;
36
37 simpleroutine DNSServiceDomainEnumerationReply_rpc(
38 reply: mach_port_t;
39 in resultType: int;
40 in replyDomain: DNSCString;
41 in flags: int;
42 SendTime to: natural_t);
43
44 simpleroutine DNSServiceBrowserReply_rpc(
45 reply: mach_port_t;
46 in resultType: int;
47 in replyName: DNSCString;
48 in replyType: DNSCString;
49 in replyDomain: DNSCString;
50 in flags: int;
51 SendTime to: natural_t);
52
53
54 simpleroutine DNSServiceRegistrationReply_rpc(
55 reply: mach_port_t;
56 in resultType: int;
57 SendTime to: natural_t);
58
59
60 simpleroutine DNSServiceResolverReply_rpc(
61 reply: mach_port_t;
62 in interface: sockaddr_t;
63 in address: sockaddr_t;
64 in txtRecord: DNSCString;
65 in flags: int;
66 SendTime to: natural_t);