summaryrefslogtreecommitdiff
path: root/rld-config.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-08-04 15:09:39 +1000
committerChris Johns <chrisj@rtems.org>2014-08-04 15:09:39 +1000
commit13ee8dc9506807fd3fb253b52583611754cb719e (patch)
treee197a0ace5845ba04a1865e038983175e146f8a9 /rld-config.h
parent81534626cc87c4c6b050f9166c0c75fd61d3d53e (diff)
rtems-tld: Add generator loading support.
Diffstat (limited to 'rld-config.h')
-rw-r--r--rld-config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rld-config.h b/rld-config.h
index eb6d614..adf3a9e 100644
--- a/rld-config.h
+++ b/rld-config.h
@@ -90,6 +90,17 @@ namespace rld
* Find a record and throw an error if not found.
*/
const record& get_record (const std::string& name) const;
+
+ /**
+ * Return the single item in a record. If the record is duplicated an
+ * error is thrown.
+ */
+ std::string get_record_item (const std::string& name) const;
+
+ /**
+ * Return the list of items in a record in a strings container.
+ */
+ void get_record_items (const std::string& name, rld::strings& items) const;
};
/**