diff options
Diffstat (limited to 'analyzers/src/breakdown/nfsv41commands.h')
-rw-r--r-- | analyzers/src/breakdown/nfsv41commands.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/analyzers/src/breakdown/nfsv41commands.h b/analyzers/src/breakdown/nfsv41commands.h new file mode 100644 index 0000000..97c7c9c --- /dev/null +++ b/analyzers/src/breakdown/nfsv41commands.h @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// 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 +//------------------------------------------------------------------------------ |