1178525Sjb/*
2178525Sjb * CDDL HEADER START
3178525Sjb *
4178525Sjb * The contents of this file are subject to the terms of the
5178525Sjb * Common Development and Distribution License, Version 1.0 only
6178525Sjb * (the "License").  You may not use this file except in compliance
7178525Sjb * with the License.
8178525Sjb *
9178525Sjb * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10178525Sjb * or http://www.opensolaris.org/os/licensing.
11178525Sjb * See the License for the specific language governing permissions
12178525Sjb * and limitations under the License.
13178525Sjb *
14178525Sjb * When distributing Covered Code, include this CDDL HEADER in each
15178525Sjb * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16178525Sjb * If applicable, add the following below this CDDL HEADER, with the
17178525Sjb * fields enclosed by brackets "[]" replaced with your own identifying
18178525Sjb * information: Portions Copyright [yyyy] [name of copyright owner]
19178525Sjb *
20178525Sjb * CDDL HEADER END
21178525Sjb */
22178525Sjb/*	Copyright (c) 1988 AT&T	*/
23178525Sjb/*	  All Rights Reserved  	*/
24178525Sjb
25178525Sjb
26178525Sjb#ifndef _NLIST_H
27178525Sjb#define	_NLIST_H
28178525Sjb
29178525Sjb#pragma ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.8.2.4 */
30178525Sjb
31178525Sjb#ifdef	__cplusplus
32178525Sjbextern "C" {
33178525Sjb#endif
34178525Sjb
35178525Sjbstruct nlist {
36178525Sjb	char		*n_name;	/* symbol name */
37178525Sjb	long		n_value;	/* value of symbol */
38178525Sjb	short		n_scnum;	/* section number */
39178525Sjb	unsigned short	n_type;		/* type and derived type */
40178525Sjb	char		n_sclass;	/* storage class */
41178525Sjb	char		n_numaux;	/* number of aux. entries */
42178525Sjb};
43178525Sjb
44178525Sjb#if defined(__STDC__)
45178525Sjbextern int nlist(const char *, struct nlist *);
46178525Sjb#else	/* __STDC__ */
47178525Sjbextern int nlist();
48178525Sjb#endif  /* __STDC__ */
49178525Sjb
50178525Sjb#ifdef	__cplusplus
51178525Sjb}
52178525Sjb#endif
53178525Sjb
54178525Sjb#endif	/* _NLIST_H */
55