update ca-profile
Change-Id: Iae0124f4ea1e366976eed307a96e3dd540a56278
diff --git a/src/detail/profile-storage.hpp b/src/detail/profile-storage.hpp
index 0f8d1ce..eabb7c9 100644
--- a/src/detail/profile-storage.hpp
+++ b/src/detail/profile-storage.hpp
@@ -18,11 +18,10 @@
* See AUTHORS.md for complete list of ndncert authors and contributors.
*/
-#ifndef NDNCERT_CONFIGURATION_HPP
-#define NDNCERT_CONFIGURATION_HPP
+#ifndef NDNCERT_DETAIL_PROFILE_STORAGE_HPP
+#define NDNCERT_DETAIL_PROFILE_STORAGE_HPP
#include "detail/ca-profile.hpp"
-#include "name-assignment/assignment-func.hpp"
namespace ndn {
namespace ndncert {
@@ -45,7 +44,7 @@
* @throw std::runtime_error when config file cannot be correctly parsed.
*/
void
- load(const JsonSection& configSection);
+ load(const JsonSection& json);
void
save(const std::string& fileName) const;
@@ -60,14 +59,14 @@
addCaProfile(const CaProfile& profile);
const std::list<CaProfile>&
- getCaItems() const;
+ getCaProfiles() const;
private:
- std::list<CaProfile> m_caItems;
+ std::list<CaProfile> m_caProfiles;
};
} // namespace requester
} // namespace ndncert
} // namespace ndn
-#endif // NDNCERT_CONFIGURATION_HPP
+#endif // NDNCERT_DETAIL_PROFILE_STORAGE_HPP