aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/ultrix4/port-protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/ultrix4/port-protos.h')
-rw-r--r--src/backend/port/ultrix4/port-protos.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/backend/port/ultrix4/port-protos.h b/src/backend/port/ultrix4/port-protos.h
new file mode 100644
index 00000000000..ed055dd19c0
--- /dev/null
+++ b/src/backend/port/ultrix4/port-protos.h
@@ -0,0 +1,36 @@
+/*-------------------------------------------------------------------------
+ *
+ * port-protos.h--
+ * prototypes for Ultrix-specific routines
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: port-protos.h,v 1.1.1.1 1996/07/09 06:21:45 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PORT_PORTOS_H
+#define PORT_PORTOS_H
+
+#include "utils/dynamic_loader.h"
+#include "dl.h"
+
+/* dynloader.c */
+/*
+ * New dynamic loader.
+ *
+ * This dynamic loader uses Andrew Yu's libdl-1.0 package for Ultrix 4.x.
+ * (Note that pg_dlsym and pg_dlclose are actually macros defined in
+ * "port-protos.h".)
+ */
+
+#define pg_dlsym(h, f) ((func_ptr)dl_sym(h, f))
+#define pg_dlclose(h) dl_close(h)
+#define pg_dlerror() dl_error()
+
+/* port.c */
+
+extern void init_address_fixup(void);
+
+#endif /* PORT_PORTOS_H */