Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-05-18 08:30:09

0001 /* Interface for nlist.
0002    Copyright (C) 1998, 1999, 2000, 2002 Red Hat, Inc.
0003    This file is part of elfutils.
0004 
0005    This file is free software; you can redistribute it and/or modify
0006    it under the terms of either
0007 
0008      * the GNU Lesser General Public License as published by the Free
0009        Software Foundation; either version 3 of the License, or (at
0010        your option) any later version
0011 
0012    or
0013 
0014      * the GNU General Public License as published by the Free
0015        Software Foundation; either version 2 of the License, or (at
0016        your option) any later version
0017 
0018    or both in parallel, as here.
0019 
0020    elfutils is distributed in the hope that it will be useful, but
0021    WITHOUT ANY WARRANTY; without even the implied warranty of
0022    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0023    General Public License for more details.
0024 
0025    You should have received copies of the GNU General Public License and
0026    the GNU Lesser General Public License along with this program.  If
0027    not, see <http://www.gnu.org/licenses/>.  */
0028 
0029 #ifndef _NLIST_H
0030 #define _NLIST_H 1
0031 
0032 
0033 /* Symbol list type.  */
0034 struct nlist
0035 {
0036   char *n_name;         /* Symbol name.  */
0037   long int n_value;     /* Value of symbol.  */
0038   short int n_scnum;        /* Section number found in.  */
0039   unsigned short int n_type;    /* Type of symbol.  */
0040   char n_sclass;        /* Storage class.  */
0041   char n_numaux;        /* Number of auxiliary entries.  */
0042 };
0043 
0044 
0045 #ifdef __cplusplus
0046 extern "C" {
0047 #endif
0048 
0049 /* Get specified entries from file.  */
0050 extern int nlist (__const char *__filename, struct nlist *__nl);
0051 
0052 #ifdef __cplusplus
0053 }
0054 #endif
0055 
0056 #endif  /* nlist.h */