// 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-job.hpp" /////////////////////////////////////////////////////////////////////////////// #if defined(SAGA_HAVE_PACKAGE_JOB) void job_suspend (saga_tools::common & c, std::string rm, std::string id) { saga::job::service js (c.session (), saga::url (rm)); saga::job::job j = js.get_job (id); j.suspend (); } #endif