Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5496 leency 1
/*
2
nlist.h - public header file for nlist(3).
3
Copyright (C) 1995 - 1998 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
*/
19
 
20
/* @(#) $Id: nlist.h,v 1.3 1998/06/01 19:47:24 michael Exp $ */
21
 
22
#ifndef _NLIST_H
23
#define _NLIST_H
24
 
25
#ifdef __cplusplus
26
extern "C" {
27
#endif /* __cplusplus */
28
 
29
struct 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__ || defined(__cplusplus)
39
extern int nlist(const char *__filename, struct nlist *__nl);
40
#else /* __STDC__ || defined(__cplusplus) */
41
extern int nlist();
42
#endif /* __STDC__ || defined(__cplusplus) */
43
 
44
#ifdef __cplusplus
45
}
46
#endif /* __cplusplus */
47
 
48
#endif /* _NLIST_H */