comparison 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
comparison
equal deleted inserted replaced
12938:599476a18982 12939:a27c46eb192b
1 /* 1 /*
2 * CDDL HEADER START 2 * CDDL HEADER START
3 * 3 *
4 * The contents of this file are subject to the terms of the 4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only 5 * Common Development and Distribution License (the "License").
6 * (the "License"). You may not use this file except in compliance 6 * You may not use this file except in compliance with the License.
7 * with the License.
8 * 7 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing. 9 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions 10 * See the License for the specific language governing permissions
12 * and limitations under the License. 11 * and limitations under the License.
17 * fields enclosed by brackets "[]" replaced with your own identifying 16 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner] 17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * 18 *
20 * CDDL HEADER END 19 * CDDL HEADER END
21 */ 20 */
21
22 /* 22 /*
23 * Copyright (c) 1997 by Sun Microsystems, Inc. 23 * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
24 * All rights reserved. 24 * All rights reserved.
25 */ 25 */
26 26 #ifndef _ENV_H
27 #pragma ident "%Z%%M% %I% %E% SMI" 27 #define _ENV_H
28
29 28
30 typedef struct elist { 29 typedef struct elist {
31 char * l_libname; 30 char *l_libname;
32 struct elist * l_next; 31 struct elist *l_next;
33 } Elist; 32 } Elist;
34 33
35 extern void build_env_list(Elist **, const char *); 34 extern void build_env_list(Elist **, const char *);
36 extern Elist * check_list(Elist *, const char *); 35 extern Elist *check_list(Elist *, const char *);
37 extern char * checkenv(const char *); 36 extern char *checkenv(const char *);
37
38 #endif /* _ENV_H */