Unverified Commit 4a9632b5 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

rpc refactoring: cleanup includes for metadentry RPCs

parent 79152e5d
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -2,12 +2,14 @@
#ifndef IFS_PRELOAD_C_METADENTRY_HPP
#define IFS_PRELOAD_C_METADENTRY_HPP

#include <preload/preload.hpp>
#include <preload/preload_util.hpp>
#include <global/rpc/rpc_types.hpp>
#include <preload/open_dir.hpp>
#include <global/metadata.hpp>
#include <iostream>
#include <margo.h>
#include <string>

/* Forward declaration */
struct MetadentryUpdateFlags;
class OpenDir;
class Metadata;


inline hg_return_t margo_forward_timed_wrap_timer(hg_handle_t& handle, void* in_struct, const char* func);

+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
#include <global/configure.hpp>
#include <global/path_util.hpp>
#include <preload/preload.hpp>
#include "preload/preload_util.hpp"
#include <preload/adafs_functions.hpp>
#include <preload/rpc/ld_rpc_metadentry.hpp>
#include <preload/rpc/ld_rpc_data_ws.hpp>
+5 −2
Original line number Diff line number Diff line
#include <global/configure.hpp>
#include <preload/rpc/ld_rpc_metadentry.hpp>
#include "preload/preload.hpp"
#include "preload/preload_util.hpp"
#include "preload/open_dir.hpp"
#include <global/rpc/rpc_utils.hpp>
#include <global/rpc/distributor.hpp>
#include <global/rpc/rpc_types.hpp>
#include <preload/open_dir.hpp>
#include <daemon/adafs_daemon.hpp>

#include <chrono>

using namespace std;
using ns = chrono::nanoseconds;