]> git.saurik.com Git - apple/libc.git/blame - mach/servers/netname.defs
Libc-320.tar.gz
[apple/libc.git] / mach / servers / netname.defs
CommitLineData
9385eb3d
A
1/*
2 * Copyright (c) 2003 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 */
e9ce8d39
A
25/*
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.
30 */
31
32/*
33 * Mig definitions for Network Name Service.
34 */
35
36/*
37 * HISTORY:
38 * 30-May-87 Robert Sansom (rds) at Carnegie Mellon University
39 * Changes for the new mig.
40 *
41 * 20-Oct-86 Robert Sansom (rds) at Carnegie Mellon University
42 * New network name service interface.
43 * Added a serverprefix.
44 */
45
46#include <mach/std_types.defs>
47
48import <servers/netname_defs.h>;
49
50subsystem netname 1040;
51
52serverprefix _;
53
54
55type netname_name_t = c_string[*:80];
56
57routine 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);
61
62routine 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);
66
67routine netname_check_out(server_port : mach_port_t;
68 port_name : netname_name_t;
69 signature : mach_port_t);
70
71routine netname_version(server_port : mach_port_t;
72 out version : netname_name_t);
73