summaryrefslogtreecommitdiff
path: root/src/backend/port/nextstep/port-protos.h
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1997-01-13 01:26:29 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1997-01-13 01:26:29 +0000
commit2de3d96f6923791e580967cb55b1a44c9685bb62 (patch)
tree78164b510711adfd0f8ccf26f3daf7cbb0452555 /src/backend/port/nextstep/port-protos.h
parentef228cb170c8f6cd13ea3a3e37314afd4723813e (diff)
Add nextstep port, courtesy of Ovidiu Predescu.
Diffstat (limited to 'src/backend/port/nextstep/port-protos.h')
-rw-r--r--src/backend/port/nextstep/port-protos.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/backend/port/nextstep/port-protos.h b/src/backend/port/nextstep/port-protos.h
new file mode 100644
index 00000000000..93fec7642f0
--- /dev/null
+++ b/src/backend/port/nextstep/port-protos.h
@@ -0,0 +1,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 */