• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Interface for nlist.
2    Copyright (C) 1998, 1999, 2000, 2002 Red Hat, Inc.
3 
4    This program is free software; you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation, version 2.
7 
8    This program is distributed in the hope that it will be useful,
9    but WITHOUT ANY WARRANTY; without even the implied warranty of
10    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11    GNU General Public License for more details.
12 
13    You should have received a copy of the GNU General Public License
14    along with this program; if not, write to the Free Software Foundation,
15    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
16 
17 #ifndef _NLIST_H
18 #define _NLIST_H 1
19 
20 
21 /* Symbol list type.  */
22 struct nlist
23 {
24   char *n_name;			/* Symbol name.  */
25   long int n_value;		/* Value of symbol.  */
26   short int n_scnum;		/* Section number found in.  */
27   unsigned short int n_type;	/* Type of symbol.  */
28   char n_sclass;		/* Storage class.  */
29   char n_numaux;		/* Number of auxiliary entries.  */
30 };
31 
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /* Get specified entries from file.  */
38 extern int nlist (__const char *__filename, struct nlist *__nl);
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif  /* nlist.h */
45