Current File : //usr/include/nlist.h
/*
 * Copyright (c) 1988, 2013, Oracle and/or its affiliates. All rights reserved.
 */
/*	Copyright (c) 1988 AT&T	*/
/*	  All Rights Reserved  	*/


#ifndef _NLIST_H
#define	_NLIST_H
#include <sys/types.h>
#ifdef	__cplusplus
extern "C" {
#endif

struct nlist {
	char		*n_name;	/* symbol name */
	long		n_value;	/* value of symbol */
	short		n_scnum;	/* section number */
	unsigned short	n_type;		/* type and derived type */
	char		n_sclass;	/* storage class */
	char		n_numaux;	/* number of aux. entries */
};

#if defined(__STDC__)
extern int nlist(const char *, struct nlist *);
extern int mem_nlist(char *, size_t, struct nlist *);
#else	/* __STDC__ */
extern int nlist();
extern int mem_nlist();
#endif  /* __STDC__ */

#ifdef	__cplusplus
}
#endif

#endif	/* _NLIST_H */