status.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_TOOLS_NFDC_STATUS_HPP
27 #define NFD_TOOLS_NFDC_STATUS_HPP
28 
29 #include "status-report.hpp"
30 #include "command-parser.hpp"
31 
32 namespace nfd {
33 namespace tools {
34 namespace nfdc {
35 
37 {
39  bool wantForwarderGeneral = false;
40  bool wantChannels = false;
41  bool wantFaces = false;
42  bool wantFib = false;
43  bool wantRib = false;
44  bool wantStrategyChoice = false;
45 };
46 
49 int
50 reportStatus(ExecuteContext& ctx, const StatusReportOptions& options);
51 
63 void
65 
66 } // namespace nfdc
67 } // namespace tools
68 } // namespace nfd
69 
70 #endif // NFD_TOOLS_NFDC_STATUS_HPP
void registerStatusCommands(CommandParser &parser)
registers status commands
Definition: status.cpp:121
context for command execution
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
int reportStatus(ExecuteContext &ctx, const StatusReportOptions &options)
collect a status report and write to stdout
Definition: status.cpp:41