Path: blob/main/cddl/contrib/opensolaris/head/nlist.h
39482 views
/*1* CDDL HEADER START2*3* The contents of this file are subject to the terms of the4* Common Development and Distribution License, Version 1.0 only5* (the "License"). You may not use this file except in compliance6* with the License.7*8* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE9* or http://www.opensolaris.org/os/licensing.10* See the License for the specific language governing permissions11* and limitations under the License.12*13* When distributing Covered Code, include this CDDL HEADER in each14* file and include the License file at usr/src/OPENSOLARIS.LICENSE.15* If applicable, add the following below this CDDL HEADER, with the16* fields enclosed by brackets "[]" replaced with your own identifying17* information: Portions Copyright [yyyy] [name of copyright owner]18*19* CDDL HEADER END20*/21/*22* Copyright 2014 Garrett D'Amore <[email protected]>23*/24/* Copyright (c) 1988 AT&T */25/* All Rights Reserved */262728#ifndef _NLIST_H29#define _NLIST_H3031#ifdef __cplusplus32extern "C" {33#endif3435struct nlist {36char *n_name; /* symbol name */37long n_value; /* value of symbol */38short n_scnum; /* section number */39unsigned short n_type; /* type and derived type */40char n_sclass; /* storage class */41char n_numaux; /* number of aux. entries */42};4344extern int nlist(const char *, struct nlist *);4546#ifdef __cplusplus47}48#endif4950#endif /* _NLIST_H */515253