// 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" /////////////////////////////////////////////////////////////////////////////// void replica_set_attribute (std::string lfnURL, std::string key, std::string val) { using namespace saga; SAGA_GUARDED_EXEC ( // instantiate logical file saga::url lfn(lfnURL); replica::logical_file logfile (lfn, saga::replica::ReadWrite); // list attributes logfile.set_attribute(key, val); ) }