OSDN Git Service

Goes with the recently added src/utils/version.c, will replace some stuff in
authorBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 11 Nov 1996 14:24:38 +0000 (14:24 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 11 Nov 1996 14:24:38 +0000 (14:24 +0000)
miscadmin.h.

src/include/version.h [new file with mode: 0644]

diff --git a/src/include/version.h b/src/include/version.h
new file mode 100644 (file)
index 0000000..ecdaa86
--- /dev/null
@@ -0,0 +1,24 @@
+/*-------------------------------------------------------------------------
+ *
+ * version.h--
+ *    this file contains the interface to version.c.
+ *    Also some parameters.
+ *
+ * $Id: version.h,v 1.1 1996/11/11 14:24:38 bryanh Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef VERSION_H
+#define VERSION_H
+
+void
+ValidatePgVersion(const char *path, char **reason_p);
+
+void
+SetPgVersion(const char *path, char **reason_p);
+
+#define        PG_RELEASE      6
+#define PG_VERSION     0
+#define        PG_VERFILE      "PG_VERSION"
+
+#endif