Commit | Line | Data |
---|---|---|
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 | ||
22 | WRAP_SCM_FUNCTION_1("tomd job", "c-check-job", job_predicate) | |
23 | WRAP_SCM_FUNCTION_1("tomd job", "c-job-cmd", get_cmd) | |
24 | WRAP_SCM_FUNCTION_1("tomd job", "c-job-args", get_args) | |
25 | WRAP_SCM_FUNCTION_1("tomd job", "c-job-start-trigger", get_start_trigger) | |
26 | WRAP_SCM_FUNCTION_1("tomd job", "c-job-end-trigger", get_end_trigger) | |
27 | ||
28 | #endif |