annotate usr/src/cmd/sgs/link_audit/common/env.h @ 12939:a27c46eb192b

6972234 sgs demo's could use some cleanup
author Rod Evans <Rod.Evans@Sun.COM>
date Tue, 27 Jul 2010 22:49:34 -0700
parents 68f95e015346
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
1 /*
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
2 * CDDL HEADER START
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
3 *
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
4 * The contents of this file are subject to the terms of the
12939
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
5 * Common Development and Distribution License (the "License").
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
6 * You may not use this file except in compliance with the License.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
7 *
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
9 * or http://www.opensolaris.org/os/licensing.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
10 * See the License for the specific language governing permissions
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
11 * and limitations under the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
12 *
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
13 * When distributing Covered Code, include this CDDL HEADER in each
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
15 * If applicable, add the following below this CDDL HEADER, with the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
16 * fields enclosed by brackets "[]" replaced with your own identifying
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
17 * information: Portions Copyright [yyyy] [name of copyright owner]
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
18 *
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
19 * CDDL HEADER END
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
20 */
12939
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
21
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
22 /*
12939
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
23 * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
24 * All rights reserved.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
25 */
12939
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
26 #ifndef _ENV_H
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
27 #define _ENV_H
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
28
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
29 typedef struct elist {
12939
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
30 char *l_libname;
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
31 struct elist *l_next;
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
32 } Elist;
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
33
12939
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
34 extern void build_env_list(Elist **, const char *);
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
35 extern Elist *check_list(Elist *, const char *);
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
36 extern char *checkenv(const char *);
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
37
a27c46eb192b 6972234 sgs demo's could use some cleanup
Rod Evans <Rod.Evans@Sun.COM>
parents: 0
diff changeset
38 #endif /* _ENV_H */