2 * Copyright (c) 2003 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@
26 * Mach Operating System
27 * Copyright (c) 1987 Carnegie-Mellon University
28 * All rights reserved. The CMU software License Agreement specifies
29 * the terms and conditions for use and redistribution.
33 * Mig definitions for Network Name Service.
38 * 30-May-87 Robert Sansom (rds) at Carnegie Mellon University
39 * Changes for the new mig.
41 * 20-Oct-86 Robert Sansom (rds) at Carnegie Mellon University
42 * New network name service interface.
43 * Added a serverprefix.
46 #include <mach/std_types.defs>
48 import <servers/netname_defs.h>;
50 subsystem netname 1040;
55 type netname_name_t = c_string[*:80];
57 routine netname_check_in(server_port : mach_port_t;
58 port_name : netname_name_t;
59 signature : mach_port_t;
60 port_id : mach_port_t);
62 routine netname_look_up(server_port : mach_port_t;
63 host_name : netname_name_t;
64 port_name : netname_name_t;
65 out port_id : mach_port_t);
67 routine netname_check_out(server_port : mach_port_t;
68 port_name : netname_name_t;
69 signature : mach_port_t);
71 routine netname_version(server_port : mach_port_t;
72 out version : netname_name_t);