summaryrefslogtreecommitdiff
path: root/rld-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'rld-config.h')
-rw-r--r--rld-config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rld-config.h b/rld-config.h
index 52153d2..4bcb964 100644
--- a/rld-config.h
+++ b/rld-config.h
@@ -87,6 +87,11 @@ namespace rld
records recs; //< The section's records.
/**
+ * Has the section got a record ?
+ */
+ bool has_record (const std::string& name) const;
+
+ /**
* Find a record and throw an error if not found.
*/
const record& get_record (const std::string& name) const;