From: Tom Balzer Date: Tue, 26 Jun 2018 13:04:46 +0000 (-0500) Subject: Start of job structure support. X-Git-Url: https://git.hcoop.net/tlb/tomd.git/commitdiff_plain/a34460066ebb176a8e00c003ebce348106deefe6 Start of job structure support. --- diff --git a/include/job.c b/include/job.c new file mode 100644 index 0000000..dcb2eed --- /dev/null +++ b/include/job.c @@ -0,0 +1,24 @@ +/* Copyright (C) 2018 Thomas Balzer */ + +/* This file is part of tomd. */ + +/* tomd is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ + +/* tomd is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ + +/* You should have received a copy of the GNU General Public License */ +/* along with tomd. If not, see . */ + +struct job{ + char *cmd; + char *args[10]; + /* todo */ + /* enum trigger start_trigger; */ + /* enum trigger end_trigger; */ +};