|
1 | | -/*------------------------------------------------------------------------- |
2 | | - * |
3 | | - * port-protos.h-- |
4 | | - * port-specific prototypes for Intel x86/UNIXWARE |
5 | | - * |
6 | | - * |
7 | | - * Copyright (c) 1994, Regents of the University of California |
8 | | - * |
9 | | - * port-protos.h,v 1.2 1995/03/17 06:40:18 andrew Exp |
10 | | - * |
11 | | - *------------------------------------------------------------------------- |
12 | | - */ |
13 | | -#ifndefPORT_PROTOS_H |
14 | | -#definePORT_PROTOS_H |
15 | | - |
16 | | -#include<dlfcn.h> |
17 | | -#include"fmgr.h"/* for func_ptr */ |
18 | | -#include"utils/dynamic_loader.h" |
19 | | - |
20 | | -/* dynloader.c */ |
21 | | -/* |
22 | | - * Dynamic Loader on Intel x86/Intel SVR4. |
23 | | - * |
24 | | - * this dynamic loader uses the system dynamic loading interface for shared |
25 | | - * libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared |
26 | | - * library as the file to be dynamically loaded. |
27 | | - * |
28 | | - */ |
29 | | -#definepg_dlopen(f)dlopen(f,RTLD_LAZY) |
30 | | -#definepg_dlsymdlsym |
31 | | -#definepg_dlclosedlclose |
32 | | -#definepg_dlerrordlerror |
33 | | - |
34 | | -#endif/* PORT_PROTOS_H */ |
| 1 | +/*------------------------------------------------------------------------- |
| 2 | + * |
| 3 | + * port-protos.h-- |
| 4 | + * port-specific prototypes for Intel x86/UNIXWARE |
| 5 | + * |
| 6 | + * |
| 7 | + * Copyright (c) 1994, Regents of the University of California |
| 8 | + * |
| 9 | + * port-protos.h,v 1.2 1995/03/17 06:40:18 andrew Exp |
| 10 | + * |
| 11 | + *------------------------------------------------------------------------- |
| 12 | + */ |
| 13 | +#ifndefPORT_PROTOS_H |
| 14 | +#definePORT_PROTOS_H |
| 15 | + |
| 16 | +#include<dlfcn.h> |
| 17 | +#include"fmgr.h"/* for func_ptr */ |
| 18 | +#include"utils/dynamic_loader.h" |
| 19 | + |
| 20 | +/* dynloader.c */ |
| 21 | +/* |
| 22 | + * Dynamic Loader on Intel x86/Intel SVR4. |
| 23 | + * |
| 24 | + * this dynamic loader uses the system dynamic loading interface for shared |
| 25 | + * libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared |
| 26 | + * library as the file to be dynamically loaded. |
| 27 | + * |
| 28 | + */ |
| 29 | +#definepg_dlopen(f)dlopen(f,RTLD_LAZY) |
| 30 | +#definepg_dlsymdlsym |
| 31 | +#definepg_dlclosedlclose |
| 32 | +#definepg_dlerrordlerror |
| 33 | + |
| 34 | +#endif/* PORT_PROTOS_H */ |