mgmt: rename 'datas' to 'data' in FaceStatus and ForwarderStatus
Plural form of 'data' is 'data'.
refs #3955
Change-Id: I225a384c9a9ecf784f8cd55df19d391931619984
diff --git a/src/mgmt/nfd/face-status.hpp b/src/mgmt/nfd/face-status.hpp
index 32c2607..1051e65 100644
--- a/src/mgmt/nfd/face-status.hpp
+++ b/src/mgmt/nfd/face-status.hpp
@@ -87,13 +87,27 @@
setNInInterests(uint64_t nInInterests);
uint64_t
- getNInDatas() const
+ getNInData() const
{
return m_nInData;
}
+ DEPRECATED(
+ uint64_t
+ getNInDatas() const)
+ {
+ return getNInData();
+ }
+
FaceStatus&
- setNInDatas(uint64_t nInData);
+ setNInData(uint64_t nInData);
+
+ DEPRECATED(
+ FaceStatus&
+ setNInDatas(uint64_t nInData))
+ {
+ return setNInData(nInData);
+ }
uint64_t
getNInNacks() const
@@ -114,13 +128,27 @@
setNOutInterests(uint64_t nOutInterests);
uint64_t
- getNOutDatas() const
+ getNOutData() const
{
return m_nOutData;
}
+ DEPRECATED(
+ uint64_t
+ getNOutDatas() const)
+ {
+ return getNOutData();
+ }
+
FaceStatus&
- setNOutDatas(uint64_t nOutData);
+ setNOutData(uint64_t nOutData);
+
+ DEPRECATED(
+ FaceStatus&
+ setNOutDatas(uint64_t nOutData))
+ {
+ return setNOutData(nOutData);
+ }
uint64_t
getNOutNacks() const