]>
git.saurik.com Git - apple/libc.git/blob - mach/servers/netname_defs.h
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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
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.
21 * @APPLE_LICENSE_HEADER_END@
24 * Mach Operating System
25 * Copyright (c) 1987 Carnegie-Mellon University
26 * All rights reserved. The CMU software License Agreement specifies
27 * the terms and conditions for use and redistribution.
31 * Definitions for the mig interface to the network name service.
36 * 28-Jul-88 Mary R. Thompson (mrt) at Carnegie Mellon
37 * Copied definitions of NAME_NOT_YOURS and NAME_NOT_CHECKED_IN
38 * from the old netname_defs.h so that old code would not break
40 * 8-Mar-88 Daniel Julin (dpj) at Carnegie-Mellon University
41 * Added NETNAME_INVALID_PORT.
43 * 28-Feb-88 Daniel Julin (dpj) at Carnegie-Mellon University
44 * Added NETNAME_PENDING.
46 * 23-Dec-86 Robert Sansom (rds) at Carnegie Mellon University
47 * Copied from the previous version of the network server.
51 #ifndef _NETNAME_DEFS_
52 #define _NETNAME_DEFS_
54 #define NETNAME_SUCCESS (0)
55 #define NETNAME_PENDING (-1)
56 #define NETNAME_NOT_YOURS (1000)
57 #define NAME_NOT_YOURS (1000)
58 #define NETNAME_NOT_CHECKED_IN (1001)
59 #define NAME_NOT_CHECKED_IN (1001)
60 #define NETNAME_NO_SUCH_HOST (1002)
61 #define NETNAME_HOST_NOT_FOUND (1003)
62 #define NETNAME_INVALID_PORT (1004)
64 typedef char netname_name_t
[80];
66 #endif /* NETNAME_DEFS_ */