blob: b8b9f15e0d5995b83568c8f83471bebbc35a3482 [file] [log] [blame]
Shuo Chenba793e92014-03-17 17:17:16 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
weijia yuan3aa8d2b2018-03-06 15:35:57 -08003 * Copyright (c) 2018, Regents of the University of California.
Alexander Afanasyeve1e6f2a2014-04-25 11:28:12 -07004 *
5 * This file is part of NDN repo-ng (Next generation of NDN repository).
6 * See AUTHORS.md for complete list of repo-ng authors and contributors.
7 *
8 * repo-ng is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * repo-ng is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * repo-ng, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
Shuo Chenba793e92014-03-17 17:17:16 -070018 */
19
Alexander Afanasyev39d98072014-05-04 12:46:29 -070020#ifndef REPO_REPO_TLV_HPP
21#define REPO_REPO_TLV_HPP
Shuo Chenba793e92014-03-17 17:17:16 -070022
Alexander Afanasyeve291caf2014-04-25 11:17:36 -070023#include <ndn-cxx/encoding/tlv.hpp>
Shuo Chenba793e92014-03-17 17:17:16 -070024
25namespace repo {
26namespace tlv {
27
Junxiao Shica188d72014-10-19 09:49:40 -070028using namespace ndn::tlv;
Shuo Chenba793e92014-03-17 17:17:16 -070029
30enum {
31 RepoCommandParameter = 201,
32 StartBlockId = 204,
33 EndBlockId = 205,
34 ProcessId = 206,
35 RepoCommandResponse = 207,
36 StatusCode = 208,
37 InsertNum = 209,
Weiqi Shi098f91c2014-07-23 17:41:35 -070038 DeleteNum = 210,
Shuo Chenba793e92014-03-17 17:17:16 -070039};
40
weijia yuan3aa8d2b2018-03-06 15:35:57 -080041} // namespace tlv
42} // namespace repo
Shuo Chenba793e92014-03-17 17:17:16 -070043
Alexander Afanasyev39d98072014-05-04 12:46:29 -070044#endif // REPO_REPO_TLV_HPP