// Copyright (c) 2008 Hartmut Kaiser // // 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) #ifndef SAGA_REPLICA_HPP #define SAGA_REPLICA_HPP #include #include /////////////////////////////////////////////////////////////////////////////// #if !defined(SAGA_HAVE_PACKAGE_SD) #define SAGA_GUARDED_EXEC(BLOCK) #else #define SAGA_GUARDED_EXEC(BLOCK) \ try{ \ BLOCK \ } \ catch (saga::exception const& e) { \ std::cerr << e.what () << std::endl; \ } \ catch (std::exception const& e) { \ std::cerr << e.what() << std::endl; \ } \ catch (...) { \ std::cerr << std::endl; \ } \ /**/ #endif /////////////////////////////////////////////////////////////////////////////// void list_services(std::string svc_filter, std::string data_filter); void list_services(std::string svc_filter, std::string data_filter, std::string authz_filter); #endif