summaryrefslogtreecommitdiffstats
path: root/src/lib/yang/yang_revisions.h.skel
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/yang/yang_revisions.h.skel')
-rw-r--r--src/lib/yang/yang_revisions.h.skel27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/yang/yang_revisions.h.skel b/src/lib/yang/yang_revisions.h.skel
new file mode 100644
index 0000000..826f26e
--- /dev/null
+++ b/src/lib/yang/yang_revisions.h.skel
@@ -0,0 +1,27 @@
+// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#ifndef ISC_YANG_REVISIONS_H
+#define ISC_YANG_REVISIONS_H 1
+
+#include <string>
+#include <unordered_map>
+
+namespace isc {
+namespace yang {
+
+// Table of module name / revision.
+static const std::unordered_map<std::string, std::string> YANG_REVISIONS = {
+// Fill this by:
+// cd .../src/share/yang/modules
+// sh utils/gen-revisions.sh > r
+// insert the r file here
+}; // YANG_REVISIONS
+
+} // namespace yang
+} // namespace isc
+
+#endif // ISC_YANG_REVISIONS_H