summaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/dgux.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-12-20 04:48:11 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-12-20 04:48:11 +0000
commit1783963cab9e938b04b936f61d287384d7f11f2a (patch)
tree9201e565281b1ad6a4d3af0c4b5a63b8659ea2ce /src/backend/port/dynloader/dgux.h
parent44be631dd8eb0f66222c779ca4eff49df5a30d76 (diff)
Move more to dynloader subdir
Diffstat (limited to 'src/backend/port/dynloader/dgux.h')
-rw-r--r--src/backend/port/dynloader/dgux.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/backend/port/dynloader/dgux.h b/src/backend/port/dynloader/dgux.h
new file mode 100644
index 00000000000..89705cac27f
--- /dev/null
+++ b/src/backend/port/dynloader/dgux.h
@@ -0,0 +1,30 @@
+/*-------------------------------------------------------------------------
+ *
+ * port-protos.h--
+ * port-specific prototypes for SunOS 4
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: dgux.h,v 1.1 1997/12/20 04:48:04 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PORT_PROTOS_H
+#define PORT_PROTOS_H
+
+#include "fmgr.h" /* for func_ptr */
+#include "utils/dynamic_loader.h"
+#include "dlfcn.h"
+
+/* dynloader.c */
+
+/* #define pg_dlopen(f) dlopen(f, 1) */
+#define pg_dlopen(f) dlopen(f, 2)
+#define pg_dlsym dlsym
+#define pg_dlclose dlclose
+#define pg_dlerror dlerror
+
+/* port.c */
+
+#endif /* PORT_PROTOS_H */