Update to redirect logs to a file in /var/log/tomd
[tlb/tomd.git] / include / scm_interface.h
CommitLineData
3024ed65
TB
1/* Copyright (C) 2018 Thomas Balzer */
2
3/* This file is part of tomd. */
4
5/* tomd is free software: you can redistribute it and/or modify */
6/* it under the terms of the GNU General Public License as published by */
7/* the Free Software Foundation, either version 3 of the License, or */
8/* (at your option) any later version. */
9
10/* tomd is distributed in the hope that it will be useful, */
11/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
12/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
13/* GNU General Public License for more details. */
14
15/* You should have received a copy of the GNU General Public License */
16/* along with tomd. If not, see <http://www.gnu.org/licenses/>. */
17
18#ifndef _SCM_INTERFACE_
19#define _SCM_INTERFACE_
20#include "macros.h"
21
22WRAP_SCM_FUNCTION_1("tomd job", "c-check-job", job_predicate)
06570394 23WRAP_SCM_FUNCTION_1("tomd job", "c-job-name", get_name)
3024ed65
TB
24WRAP_SCM_FUNCTION_1("tomd job", "c-job-cmd", get_cmd)
25WRAP_SCM_FUNCTION_1("tomd job", "c-job-args", get_args)
26WRAP_SCM_FUNCTION_1("tomd job", "c-job-start-trigger", get_start_trigger)
27WRAP_SCM_FUNCTION_1("tomd job", "c-job-end-trigger", get_end_trigger)
28
29#endif