]>
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 * 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 * Definitions for the mig interface to the network name service.
38 * 28-Jul-88 Mary R. Thompson (mrt) at Carnegie Mellon
39 * Copied definitions of NAME_NOT_YOURS and NAME_NOT_CHECKED_IN
40 * from the old netname_defs.h so that old code would not break
42 * 8-Mar-88 Daniel Julin (dpj) at Carnegie-Mellon University
43 * Added NETNAME_INVALID_PORT.
45 * 28-Feb-88 Daniel Julin (dpj) at Carnegie-Mellon University
46 * Added NETNAME_PENDING.
48 * 23-Dec-86 Robert Sansom (rds) at Carnegie Mellon University
49 * Copied from the previous version of the network server.
53 #ifndef _NETNAME_DEFS_
54 #define _NETNAME_DEFS_
56 #define NETNAME_SUCCESS (0)
57 #define NETNAME_PENDING (-1)
58 #define NETNAME_NOT_YOURS (1000)
59 #define NAME_NOT_YOURS (1000)
60 #define NETNAME_NOT_CHECKED_IN (1001)
61 #define NAME_NOT_CHECKED_IN (1001)
62 #define NETNAME_NO_SUCH_HOST (1002)
63 #define NETNAME_HOST_NOT_FOUND (1003)
64 #define NETNAME_INVALID_PORT (1004)
66 typedef char netname_name_t
[80];
68 #endif /* NETNAME_DEFS_ */