source: arduino-1-6-7/trunk/fuentes/arduino-ide-amd64/hardware/tools/avr/include/libelf/nlist.h @ 4837

Last change on this file since 4837 was 4837, checked in by daduve, 3 years ago

Adding new version

File size: 1.4 KB
Line 
1/*
2 * nlist.h - public header file for nlist(3).
3 * Copyright (C) 1995 - 2006 Michael Riepe
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20/* @(#) $Id: nlist.h,v 1.10 2008/05/23 08:15:35 michael Exp $ */
21
22#ifndef _NLIST_H
23#define _NLIST_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif /* __cplusplus */
28
29struct nlist {
30    char*               n_name;
31    long                n_value;
32    short               n_scnum;
33    unsigned short      n_type;
34    char                n_sclass;
35    char                n_numaux;
36};
37
38#if (__STDC__ + 0) || defined(__cplusplus) || defined(_WIN32)
39extern int nlist(const char *__filename, struct nlist *__nl);
40#else /* __STDC__ || defined(__cplusplus) */
41extern int nlist();
42#endif /* __STDC__ || defined(__cplusplus) */
43
44#ifdef __cplusplus
45}
46#endif /* __cplusplus */
47
48#endif /* _NLIST_H */
Note: See TracBrowser for help on using the repository browser.