Start of job structure support.
authorTom Balzer <niebieskitrociny@gmail.com>
Tue, 26 Jun 2018 13:04:46 +0000 (08:04 -0500)
committerTom Balzer <niebieskitrociny@gmail.com>
Tue, 26 Jun 2018 13:04:46 +0000 (08:04 -0500)
include/job.c [new file with mode: 0644]

diff --git a/include/job.c b/include/job.c
new file mode 100644 (file)
index 0000000..dcb2eed
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>. */
+
+struct job{
+  char *cmd;
+  char *args[10];
+  /* todo */
+  /* enum trigger start_trigger; */
+  /* enum trigger end_trigger; */
+};