chiark / gitweb /
unit: if start is called for a non-startable service and it is around, return EALREAD...
[elogind.git] / execute.h
index 09e4367974da05e945c811f78f326ac1b3ee90f5..737973dad90e8fe112e380bd11d4aa27fa1ce4da 100644 (file)
--- a/execute.h
+++ b/execute.h
@@ -3,6 +3,25 @@
 #ifndef fooexecutehfoo
 #define fooexecutehfoo
 
+/***
+  This file is part of systemd.
+
+  Copyright 2010 Lennart Poettering
+
+  systemd 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 2 of the License, or
+  (at your option) any later version.
+
+  systemd 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 systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
 typedef struct ExecStatus ExecStatus;
 typedef struct ExecCommand ExecCommand;
 typedef struct ExecContext ExecContext;
@@ -70,6 +89,9 @@ struct ExecContext {
         bool cpu_affinity_set:1;
         bool timer_slack_ns_set:1;
 
+        bool cpu_sched_reset_on_fork;
+        bool non_blocking;
+
         ExecInput input;
         ExecOutput output;
         int syslog_priority;