Unverified Commit df9e9ae5 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

preload includes cleanup: preload_util.hpp

parent b1ff13b8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@

#include <daemon/adafs_daemon.hpp>
#include <daemon/classes/metadata.hpp>
#include <preload/preload_util.hpp>

int create_node(const std::string& path, const uid_t uid, const gid_t gid, mode_t mode);

+2 −3
Original line number Diff line number Diff line

#ifndef IOINTERCEPT_PRELOAD_HPP
#define IOINTERCEPT_PRELOAD_HPP


#include <preload/preload_util.hpp>
#include <preload/preload_context.hpp>


#define EUNKNOWN (-1)

#define CTX PreloadContext::getInstance()
@@ -18,4 +16,5 @@ void init_preload() __attribute__((constructor));

void destroy_preload() __attribute__((destructor));


#endif //IOINTERCEPT_PRELOAD_HPP
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
#define IFS_PRELOAD_C_METADENTRY_HPP

#include <preload/preload.hpp>
#include <preload/preload_util.hpp>
#include <global/rpc/rpc_types.hpp>
#include <iostream>

+1 −0
Original line number Diff line number Diff line
#include <global/configure.hpp>
#include <preload/margo_ipc.hpp>
#include <preload/preload_util.hpp>
#include <boost/token_functions.hpp>
#include <boost/tokenizer.hpp>
extern "C" {
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
 * All intercepted functions are mapped to a different function pointer prefixing <libc_>
 */
#include <preload/passthrough.hpp>
#include <preload/preload_util.hpp>
#include <global/configure.hpp>

#include <dlfcn.h>
Loading