diff options
author | lloyd <[email protected]> | 2006-05-19 00:07:25 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-05-19 00:07:25 +0000 |
commit | f090e030be53e574fecbe7cf50edfb5fdacb53e1 (patch) | |
tree | 0bff0c249a9dbcb674fcd2491ab17e3d123ef1f9 /include/datastor.h | |
parent | a0af7b26591f8fb79d1f06fe42548e1eb0c35e90 (diff) |
Syntax changes to the BER and DER APIs to improve readability of code
that uses them. These changes are not backwards compatible, this commit
updates all uses of the APIs within the library.
Diffstat (limited to 'include/datastor.h')
-rw-r--r-- | include/datastor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/datastor.h b/include/datastor.h index 86a607feb..365c0d32b 100644 --- a/include/datastor.h +++ b/include/datastor.h @@ -34,7 +34,9 @@ class Data_Store bool operator==(const Data_Store&) const; - std::multimap<std::string, std::string> get(const Matcher&) const; + std::multimap<std::string, std::string> + search_with(const Matcher&) const; + std::vector<std::string> get(const std::string&) const; std::string get1(const std::string&) const; @@ -42,6 +44,8 @@ class Data_Store MemoryVector<byte> get1_memvec(const std::string&) const; u32bit get1_u32bit(const std::string&, u32bit = 0) const; + bool has_value(const std::string&) const; + void add(const std::multimap<std::string, std::string>&); void add(const std::string&, const std::string&); void add(const std::string&, u32bit); |