summaryrefslogtreecommitdiffstats
path: root/src/backend/utils/misc/guc_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/misc/guc_internal.h')
-rw-r--r--src/backend/utils/misc/guc_internal.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/backend/utils/misc/guc_internal.h b/src/backend/utils/misc/guc_internal.h
new file mode 100644
index 0000000..608c8ae
--- /dev/null
+++ b/src/backend/utils/misc/guc_internal.h
@@ -0,0 +1,26 @@
+/*--------------------------------------------------------------------
+ * guc_internal.h
+ *
+ * Declarations shared between backend/utils/misc/guc.c and
+ * backend/utils/misc/guc-file.l
+ *
+ * Copyright (c) 2000-2023, PostgreSQL Global Development Group
+ *
+ * src/include/utils/guc_internal.h
+ *--------------------------------------------------------------------
+ */
+#ifndef GUC_INTERNAL_H
+#define GUC_INTERNAL_H
+
+#include "utils/guc.h"
+
+extern int guc_name_compare(const char *namea, const char *nameb);
+extern ConfigVariable *ProcessConfigFileInternal(GucContext context,
+ bool applySettings, int elevel);
+extern void record_config_file_error(const char *errmsg,
+ const char *config_file,
+ int lineno,
+ ConfigVariable **head_p,
+ ConfigVariable **tail_p);
+
+#endif /* GUC_INTERNAL_H */