]>
git.saurik.com Git - apple/libc.git/blob - mach/servers/netname_defs.h
8dcffcb707213451891c8fab45846d075934f368
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
23 * Mach Operating System
24 * Copyright (c) 1987 Carnegie-Mellon University
25 * All rights reserved. The CMU software License Agreement specifies
26 * the terms and conditions for use and redistribution.
30 * Definitions for the mig interface to the network name service.
35 * 28-Jul-88 Mary R. Thompson (mrt) at Carnegie Mellon
36 * Copied definitions of NAME_NOT_YOURS and NAME_NOT_CHECKED_IN
37 * from the old netname_defs.h so that old code would not break
39 * 8-Mar-88 Daniel Julin (dpj) at Carnegie-Mellon University
40 * Added NETNAME_INVALID_PORT.
42 * 28-Feb-88 Daniel Julin (dpj) at Carnegie-Mellon University
43 * Added NETNAME_PENDING.
45 * 23-Dec-86 Robert Sansom (rds) at Carnegie Mellon University
46 * Copied from the previous version of the network server.
50 #ifndef _NETNAME_DEFS_
51 #define _NETNAME_DEFS_
53 #define NETNAME_SUCCESS (0)
54 #define NETNAME_PENDING (-1)
55 #define NETNAME_NOT_YOURS (1000)
56 #define NAME_NOT_YOURS (1000)
57 #define NETNAME_NOT_CHECKED_IN (1001)
58 #define NAME_NOT_CHECKED_IN (1001)
59 #define NETNAME_NO_SUCH_HOST (1002)
60 #define NETNAME_HOST_NOT_FOUND (1003)
61 #define NETNAME_INVALID_PORT (1004)
63 typedef char netname_name_t
[80];
65 #endif /* NETNAME_DEFS_ */