1 /***********************************************************************
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
13 * Information and Software Systems Research *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
21 ***********************************************************************/
29 * symbolic link external representation has trailing '\0' and $(...) style
30 * conditionals where $(...) corresponds to a kernel object (i.e., probably
33 * universe symlink conditionals use $(UNIVERSE)
39 #if defined(__STDPP__directive) && defined(__STDPP__hide)
40 __STDPP__directive pragma pp
:hide getuniverse readlink setuniverse symlink universe
42 #define getuniverse ______getuniverse
43 #define readlink ______readlink
44 #define setuniverse ______setuniverse
45 #define symlink ______symlink
46 #define universe ______universe
55 #if _cmd_universe && _sys_universe
56 #include <sys/universe.h>
59 #if defined(__STDPP__directive) && defined(__STDPP__hide)
60 __STDPP__directive pragma pp
:nohide getuniverse readlink setuniverse symlink universe
71 #define UNIV_MAX NUMUNIV
73 #define UNIV_MAX univ_max
74 extern char* univ_name
[];
78 extern char univ_cond
[];
83 extern char univ_env
[];
87 extern int getuniverse(char*);
88 extern int readlink(const char*, char*, int);
89 extern int setuniverse(int);
90 extern int symlink(const char*, const char*);
91 extern int universe(int);