LCOV - code coverage report
Current view: top level - src/client/rpc - rpc_types.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 18 18 100.0 %
Date: 2024-04-23 00:09:24 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :   Copyright 2018-2024, Barcelona Supercomputing Center (BSC), Spain
       3             :   Copyright 2015-2024, Johannes Gutenberg Universitaet Mainz, Germany
       4             : 
       5             :   This software was partially supported by the
       6             :   EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu).
       7             : 
       8             :   This software was partially supported by the
       9             :   ADA-FS project under the SPPEXA project funded by the DFG.
      10             : 
      11             :   This file is part of GekkoFS' POSIX interface.
      12             : 
      13             :   GekkoFS' POSIX interface is free software: you can redistribute it and/or
      14             :   modify it under the terms of the GNU Lesser General Public License as
      15             :   published by the Free Software Foundation, either version 3 of the License,
      16             :   or (at your option) any later version.
      17             : 
      18             :   GekkoFS' POSIX interface is distributed in the hope that it will be useful,
      19             :   but WITHOUT ANY WARRANTY; without even the implied warranty of
      20             :   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      21             :   GNU Lesser General Public License for more details.
      22             : 
      23             :   You should have received a copy of the GNU Lesser General Public License
      24             :   along with GekkoFS' POSIX interface.  If not, see
      25             :   <https://www.gnu.org/licenses/>.
      26             : 
      27             :   SPDX-License-Identifier: LGPL-3.0-or-later
      28             : */
      29             : 
      30             : #include <hermes.hpp>
      31             : #include <client/rpc/rpc_types.hpp>
      32             : 
      33             : //==============================================================================
      34             : // register request types so that they can be used by users and the engine
      35             : //
      36             : void
      37         269 : hermes::detail::register_user_request_types() {
      38         269 :     (void) registered_requests().add<gkfs::rpc::fs_config>();
      39         269 :     (void) registered_requests().add<gkfs::rpc::create>();
      40         269 :     (void) registered_requests().add<gkfs::rpc::stat>();
      41         269 :     (void) registered_requests().add<gkfs::rpc::remove_metadata>();
      42         269 :     (void) registered_requests().add<gkfs::rpc::decr_size>();
      43         269 :     (void) registered_requests().add<gkfs::rpc::update_metadentry>();
      44         269 :     (void) registered_requests().add<gkfs::rpc::get_metadentry_size>();
      45         269 :     (void) registered_requests().add<gkfs::rpc::update_metadentry_size>();
      46             : 
      47             : #ifdef HAS_SYMLINKS
      48         269 :     (void) registered_requests().add<gkfs::rpc::mk_symlink>();
      49             : #endif // HAS_SYMLINKS
      50         269 :     (void) registered_requests().add<gkfs::rpc::remove_data>();
      51         269 :     (void) registered_requests().add<gkfs::rpc::write_data>();
      52         269 :     (void) registered_requests().add<gkfs::rpc::read_data>();
      53         269 :     (void) registered_requests().add<gkfs::rpc::trunc_data>();
      54         269 :     (void) registered_requests().add<gkfs::rpc::get_dirents>();
      55         269 :     (void) registered_requests().add<gkfs::rpc::chunk_stat>();
      56         269 :     (void) registered_requests().add<gkfs::rpc::get_dirents_extended>();
      57         269 : }

Generated by: LCOV version 1.16