dlfcn.h (66055) | dlfcn.h (90172) |
---|---|
1/* 2 * Copyright (c) 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/* 2 * Copyright (c) 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/include/dlfcn.h 66055 2000-09-19 04:24:50Z jdp $ | 33 * $FreeBSD: head/include/dlfcn.h 90172 2002-02-04 10:33:48Z sobomax $ |
34 */ 35 36#ifndef _DLFCN_H_ 37#define _DLFCN_H_ 38#include <sys/cdefs.h> 39 40/* 41 * Modes and flags for dlopen(). 42 */ 43#define RTLD_LAZY 1 /* Bind function calls lazily */ 44#define RTLD_NOW 2 /* Bind function calls immediately */ 45#define RTLD_MODEMASK 0x3 46#define RTLD_GLOBAL 0x100 /* Make symbols globally available */ 47#define RTLD_LOCAL 0 /* Opposite of RTLD_GLOBAL, and the default */ | 34 */ 35 36#ifndef _DLFCN_H_ 37#define _DLFCN_H_ 38#include <sys/cdefs.h> 39 40/* 41 * Modes and flags for dlopen(). 42 */ 43#define RTLD_LAZY 1 /* Bind function calls lazily */ 44#define RTLD_NOW 2 /* Bind function calls immediately */ 45#define RTLD_MODEMASK 0x3 46#define RTLD_GLOBAL 0x100 /* Make symbols globally available */ 47#define RTLD_LOCAL 0 /* Opposite of RTLD_GLOBAL, and the default */ |
48#define RTLD_TRACE 0x200 /* Trace loaded objects and exit */ |
|
48 49/* 50 * Special handle arguments for dlsym(). 51 */ 52#define RTLD_NEXT ((void *) -1) /* Search subsequent objects */ 53#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm */ 54 55/* --- 25 unchanged lines hidden --- | 49 50/* 51 * Special handle arguments for dlsym(). 52 */ 53#define RTLD_NEXT ((void *) -1) /* Search subsequent objects */ 54#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm */ 55 56/* --- 25 unchanged lines hidden --- |