// Copyright (c) 2008 Ole Weidner // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include "saga-replica.hpp" /////////////////////////////////////////////////////////////////////////////// #if defined(SAGA_HAVE_PACKAGE_REPLICA) && defined(SAGA_HAVE_PACKAGE_NAMESPACE) void replica_add_pfn (std::string lfnURL, std::string pfnURL) { // instantiate logical file saga::url lfn(lfnURL); saga::replica::logical_file logfile (lfn, saga::replica::Write); // list attributes logfile.add_location(pfnURL); } #endif