proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Commands.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-present, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree.
7
*/
8
9
#pragma once
10
11
#include <functional>
12
#include <map>
13
#include <string>
14
#include <vector>
15
16
namespace
fizz
{
17
namespace
tool {
18
19
int
fizzClientCommand
(
const
std::vector<std::string>& args);
20
int
fizzServerCommand
(
const
std::vector<std::string>& args);
21
22
const
std::map<std::string, std::function<int(const std::vector<std::string>&)>>
23
fizzUtilities
= {{
"client"
, &fizzClientCommand},
24
{
"s_client"
, &fizzClientCommand},
25
{
"server"
, &fizzServerCommand},
26
{
"s_server"
, &fizzServerCommand}};
27
28
}
// namespace tool
29
}
// namespace fizz
fizz::tool::fizzServerCommand
int fizzServerCommand(const std::vector< std::string > &args)
Definition:
FizzServerCommand.cpp:277
fizz
Definition:
Actions.h:16
fizz::tool::fizzClientCommand
int fizzClientCommand(const std::vector< std::string > &args)
Definition:
FizzClientCommand.cpp:230
fizz::tool::fizzUtilities
const std::map< std::string, std::function< int(const std::vector< std::string > &)> > fizzUtilities
Definition:
Commands.h:23
proxygen
fizz
fizz
tool
Commands.h
Generated by
1.8.11