|
Packit Service |
97d2fb |
/* Interface for nlist.
|
|
Packit Service |
97d2fb |
Copyright (C) 1998, 1999, 2000, 2002 Red Hat, Inc.
|
|
Packit Service |
97d2fb |
This file is part of elfutils.
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
This file is free software; you can redistribute it and/or modify
|
|
Packit Service |
97d2fb |
it under the terms of either
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
* the GNU Lesser General Public License as published by the Free
|
|
Packit Service |
97d2fb |
Software Foundation; either version 3 of the License, or (at
|
|
Packit Service |
97d2fb |
your option) any later version
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
or
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
* the GNU General Public License as published by the Free
|
|
Packit Service |
97d2fb |
Software Foundation; either version 2 of the License, or (at
|
|
Packit Service |
97d2fb |
your option) any later version
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
or both in parallel, as here.
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
elfutils is distributed in the hope that it will be useful, but
|
|
Packit Service |
97d2fb |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
97d2fb |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
97d2fb |
General Public License for more details.
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
You should have received copies of the GNU General Public License and
|
|
Packit Service |
97d2fb |
the GNU Lesser General Public License along with this program. If
|
|
Packit Service |
97d2fb |
not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
#ifndef _NLIST_H
|
|
Packit Service |
97d2fb |
#define _NLIST_H 1
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
/* Symbol list type. */
|
|
Packit Service |
97d2fb |
struct nlist
|
|
Packit Service |
97d2fb |
{
|
|
Packit Service |
97d2fb |
char *n_name; /* Symbol name. */
|
|
Packit Service |
97d2fb |
long int n_value; /* Value of symbol. */
|
|
Packit Service |
97d2fb |
short int n_scnum; /* Section number found in. */
|
|
Packit Service |
97d2fb |
unsigned short int n_type; /* Type of symbol. */
|
|
Packit Service |
97d2fb |
char n_sclass; /* Storage class. */
|
|
Packit Service |
97d2fb |
char n_numaux; /* Number of auxiliary entries. */
|
|
Packit Service |
97d2fb |
};
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
#ifdef __cplusplus
|
|
Packit Service |
97d2fb |
extern "C" {
|
|
Packit Service |
97d2fb |
#endif
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
/* Get specified entries from file. */
|
|
Packit Service |
97d2fb |
extern int nlist (__const char *__filename, struct nlist *__nl);
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
#ifdef __cplusplus
|
|
Packit Service |
97d2fb |
}
|
|
Packit Service |
97d2fb |
#endif
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
#endif /* nlist.h */
|