Path: blob/main/cddl/contrib/opensolaris/lib/libctf/common/libctf.h
39535 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 2001-2003 Sun Microsystems, Inc. All rights reserved.23* Use is subject to license terms.24*/2526/*27* This header file defines the interfaces available from the CTF debugger28* library, libctf. This library provides functions that a debugger can29* use to operate on data in the Compact ANSI-C Type Format (CTF). This30* is NOT a public interface, although it may eventually become one in31* the fullness of time after we gain more experience with the interfaces.32*33* In the meantime, be aware that any program linked with libctf in this34* release of Solaris is almost guaranteed to break in the next release.35*36* In short, do not user this header file or libctf for any purpose.37*/3839#ifndef _LIBCTF_H40#define _LIBCTF_H4142#pragma ident "%Z%%M% %I% %E% SMI"4344#include <sys/ctf_api.h>4546#ifdef __cplusplus47extern "C" {48#endif4950/*51* This flag can be used to enable debug messages.52*/53extern int _libctf_debug;5455#ifdef __cplusplus56}57#endif5859#endif /* _LIBCTF_H */606162