#include "postgres.h"
#include <a.out.h>
#include <dl.h>
#include "dynloader.h"
#include "utils/dynamic_loader.h"
Go to the source code of this file.
Function Documentation
void pg_dlclose |
( |
void * |
handle |
) |
|
Definition at line 54 of file hpux.c.
{
shl_unload((shl_t) handle);
}
char* pg_dlerror |
( |
void |
|
) |
|
void* pg_dlopen |
( |
char * |
filename |
) |
|
Definition at line 29 of file hpux.c.
{
shl_t handle = shl_load(filename,
BIND_IMMEDIATE | BIND_VERBOSE | DYNAMIC_PATH,
0L);
return (void *) handle;
}
PGFunction pg_dlsym |
( |
void * |
handle, |
|
|
char * |
funcname | |
|
) |
| | |
Definition at line 44 of file hpux.c.
References NULL.
{
PGFunction f;
if (shl_findsym((shl_t *) & handle, funcname, TYPE_PROCEDURE, &f) == -1)
f = (PGFunction) NULL;
return f;
}