summaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/nextstep.h
blob: dfd72a83a69628b7046d3e1b76db1b15ef0b1add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*-------------------------------------------------------------------------
 *
 * port-protos.h--
 *	  port-specific prototypes for NeXT
 *

-------------------------------------------------------------------------
 */
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H

#include "fmgr.h"				/* for func_ptr */
#include "utils/dynamic_loader.h"

void	*next_dlopen(char *name);
int	next_dlclose(void *handle);
void	*next_dlsym(void *handle, char *symbol);
char	*next_dlerror(void);

#define pg_dlopen(f)	next_dlopen
#define pg_dlsym		next_dlsym
#define pg_dlclose		next_dlclose
#define pg_dlerror		next_dlerror

/* port.c */

#endif							/* PORT_PROTOS_H */