Rename RequestState to CaState
- to prevent confusion with RequesterState
Change-Id: I56048e289fded44bf39dd1fe6a5e26ddd3938b99
diff --git a/src/configuration.hpp b/src/configuration.hpp
index 6b9edeb..acd1b99 100644
--- a/src/configuration.hpp
+++ b/src/configuration.hpp
@@ -18,10 +18,10 @@
* See AUTHORS.md for complete list of ndncert authors and contributors.
*/
-#ifndef NDNCERT_CA_CONFIG_HPP
-#define NDNCERT_CA_CONFIG_HPP
+#ifndef NDNCERT_CONFIGURATION_HPP
+#define NDNCERT_CONFIGURATION_HPP
-#include "request-state.hpp"
+#include "ca-state.hpp"
namespace ndn {
namespace ndncert {
@@ -95,9 +95,9 @@
* fired whenever a request instance is created, challenge status is updated, and when certificate
* is issued.
*
- * @p RequestState, input, the state of the certificate request whose status is updated.
+ * @p CaState, input, the state of the certificate request whose status is updated.
*/
-using StatusUpdateCallback = function<void(const RequestState&)>;
+using StatusUpdateCallback = function<void(const CaState&)>;
/**
* @brief CA's configuration on NDNCERT.
@@ -185,4 +185,4 @@
} // namespace ndncert
} // namespace ndn
-#endif // NDNCERT_CA_CONFIG_HPP
+#endif // NDNCERT_CONFIGURATION_HPP