analyzers/src/breakdown/nfsv41commands.h (18 lines of code) (raw):
//------------------------------------------------------------------------------
// Author: Andrey Kuznetsov
// Description: Represents NFS v4.1 commands
// Copyright (c) 2015 EPAM Systems
//------------------------------------------------------------------------------
/*
This file is part of Nfstrace.
Nfstrace is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 2 of the License.
Nfstrace is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Nfstrace. If not, see <http://www.gnu.org/licenses/>.
*/
//------------------------------------------------------------------------------
#ifndef NFSV41COMMANDS_H
#define NFSV41COMMANDS_H
//------------------------------------------------------------------------------
#include "commandrepresenter.h"
//------------------------------------------------------------------------------
namespace NST
{
namespace breakdown
{
/*!
* Represents NFS v 4.0 commands
* Converts commands to string
*/
class NFSv41Commands : public CommandRepresenter
{
public:
const char* command_description(int cmd_code);
const char* command_name(int cmd_code);
const char* protocol_name();
size_t commands_count();
};
} // namespace breakdown
} // namespace NST
//------------------------------------------------------------------------------
#endif //NFSV41COMMANDS_H
//------------------------------------------------------------------------------