Program Listing for File proxy.hpp

Return to documentation for file (include/proxy/proxy.hpp)

/*
  Copyright 2018-2025, Barcelona Supercomputing Center (BSC), Spain
  Copyright 2015-2025, Johannes Gutenberg Universitaet Mainz, Germany

  This software was partially supported by the
  EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu).

  This software was partially supported by the
  ADA-FS project under the SPPEXA project funded by the DFG.

  This software was partially supported by the
  the European Union’s Horizon 2020 JTI-EuroHPC research and
  innovation programme, by the project ADMIRE (Project ID: 956748,
  admire-eurohpc.eu)

  This project was partially promoted by the Ministry for Digital Transformation
  and the Civil Service, within the framework of the Recovery,
  Transformation and Resilience Plan - Funded by the European Union
  -NextGenerationEU.

  SPDX-License-Identifier: MIT
*/
#ifndef GEKKOFS_PROXY_PROXY_HPP
#define GEKKOFS_PROXY_PROXY_HPP

// std libs
#include <string>
#include <spdlog/spdlog.h>

#include <config.hpp>
#include <common/common_defs.hpp>

// margo
extern "C" {
#include <abt.h>
#include <mercury.h>
#include <margo.h>
}

#include <proxy/proxy_data.hpp>

#define PROXY_DATA                                                             \
    (static_cast<gkfs::proxy::ProxyData*>(                                     \
            gkfs::proxy::ProxyData::getInstance()))

#endif // GEKKOFS_PROXY_PROXY_HPP