aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/core/manifest.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-11-14 09:30:23 +0000
committerGerrit Code Review <gerrit@fd.io>2019-11-14 09:30:23 +0000
commit34d819b0cf58fa3a96b5cae84b825b5a8a633cd4 (patch)
treef07a5ca4bc0133e85036daa017ef4d2e684b3749 /libtransport/src/hicn/transport/core/manifest.h
parentcd09afb42f41f8bb6cc9db3d13b3f353fa69d94f (diff)
parentf2b7325ae6114b6b5b9e4d32c0a7cdc07576f224 (diff)
Merge "[HICN-392] Assign independent suffixes for manifests/contents"
Diffstat (limited to 'libtransport/src/hicn/transport/core/manifest.h')
-rw-r--r--libtransport/src/hicn/transport/core/manifest.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/core/manifest.h b/libtransport/src/hicn/transport/core/manifest.h
index 9f7dc5984..9650de94d 100644
--- a/libtransport/src/hicn/transport/core/manifest.h
+++ b/libtransport/src/hicn/transport/core/manifest.h
@@ -85,6 +85,10 @@ class Manifest : public Base {
return Encoder::getManifestHeaderSize();
}
+ static std::size_t getManifestEntrySize() {
+ return Encoder::getManifestEntrySize();
+ }
+
Manifest &setManifestType(ManifestType type) {
manifest_type_ = type;
encoder_.setManifestType(manifest_type_);
@@ -142,4 +146,4 @@ class Manifest : public Base {
} // end namespace core
-} // end namespace transport \ No newline at end of file
+} // end namespace transport