Libinfo-173.tar.gz
[apple/libinfo.git] / mdns.subproj / DNSServiceDiscoveryReply.defs
1 /*
2  * Copyright (c) 2001 Apple Computer, Inc. All rights reserved.
3  *
4  * @APPLE_LICENSE_HEADER_START@
5  * 
6  * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
7  * 
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
13  * file.
14  * 
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.
22  * 
23  * @APPLE_LICENSE_HEADER_END@
24  */
25
26 subsystem
27         DNSServiceDiscoveryReply 7250;
28
29 ServerPrefix internal_;
30
31 #include <mach/std_types.defs>
32 #include <mach/mach_types.defs>
33
34 import "DNSServiceDiscoveryDefines.h";
35
36 type DNSCString = c_string[*:1024];
37 type sockaddr_t = array[128] of char;
38
39 simpleroutine DNSServiceDomainEnumerationReply_rpc(
40                                 reply: mach_port_t;
41                         in      resultType: int;
42                         in      replyDomain: DNSCString;
43                         in      flags: int;
44                                 SendTime        to: natural_t);
45
46 simpleroutine DNSServiceBrowserReply_rpc(
47                                 reply: mach_port_t;
48                         in      resultType: int;
49                         in      replyName: DNSCString;
50                         in      replyType: DNSCString;
51                         in      replyDomain: DNSCString;
52                         in      flags: int;
53                                 SendTime        to: natural_t);
54
55                         
56 simpleroutine DNSServiceRegistrationReply_rpc(
57                                 reply: mach_port_t;
58                         in      resultType: int;
59                                 SendTime        to: natural_t);
60
61
62 simpleroutine DNSServiceResolverReply_rpc(
63                                 reply: mach_port_t;
64                         in      interface: sockaddr_t;
65                         in      address: sockaddr_t;
66                         in      txtRecord: DNSCString;
67                         in      flags: int;
68                                 SendTime        to: natural_t);
69