1 | /*
|
---|
2 | ** dlfcn.h -- limited implementation of posix dynamic loading functions
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2003 the Free Software Foundation, Inc.
|
---|
7 | *
|
---|
8 | * This file is part of GAWK, the GNU implementation of the
|
---|
9 | * AWK Programming Language.
|
---|
10 | *
|
---|
11 | * GAWK is free software; you can redistribute it and/or modify
|
---|
12 | * it under the terms of the GNU General Public License as published by
|
---|
13 | * the Free Software Foundation; either version 2 of the License, or
|
---|
14 | * (at your option) any later version.
|
---|
15 | *
|
---|
16 | * GAWK is distributed in the hope that it will be useful,
|
---|
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
19 | * GNU General Public License for more details.
|
---|
20 | *
|
---|
21 | * You should have received a copy of the GNU General Public License
|
---|
22 | * along with this program; if not, write to the Free Software
|
---|
23 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
24 | */
|
---|
25 |
|
---|
26 | #ifndef _DLFCN_H
|
---|
27 | #define _DLFCN_H
|
---|
28 |
|
---|
29 | /* symbols required by susv3. These are not supported here (everything is
|
---|
30 | * RTLD_NOW, RTLD_GLOBAL) */
|
---|
31 | #define RTLD_LAZY 0
|
---|
32 | #define RTLD_NOW 1
|
---|
33 | #define RTLD_GLOBAL 0
|
---|
34 | #define RTLD_LOCAL 2
|
---|
35 |
|
---|
36 | int dlclose(void *);
|
---|
37 | char *dlerror(void);
|
---|
38 | void *dlopen(const char *, int);
|
---|
39 | void *dlsym(void * /*restrict*/, const char * /*restrict*/);
|
---|
40 |
|
---|
41 | #endif
|
---|