From a34460066ebb176a8e00c003ebce348106deefe6 Mon Sep 17 00:00:00 2001 From: Tom Balzer Date: Tue, 26 Jun 2018 08:04:46 -0500 Subject: [PATCH] Start of job structure support. --- include/job.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/job.c 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; */ +}; -- 2.20.1