X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=execute.h;h=3e332105c1ab15f12bea9d4b82a95e76b15a995c;hb=79ef004b0c39e151c8a875f2415a0123808c2a07;hp=09e4367974da05e945c811f78f326ac1b3ee90f5;hpb=ea4309869e75497ba6a97c540646cb66a157a4d9;p=elogind.git diff --git a/execute.h b/execute.h index 09e436797..3e332105c 100644 --- 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 . +***/ + 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; @@ -132,6 +154,7 @@ void exec_command_free_array(ExecCommand **c, unsigned n); char *exec_command_line(ExecCommand *c); void exec_command_dump(ExecCommand *c, FILE *f, const char *prefix); void exec_command_dump_list(ExecCommand *c, FILE *f, const char *prefix); +void exec_command_append_list(ExecCommand **l, ExecCommand *e); void exec_context_init(ExecContext *c); void exec_context_done(ExecContext *c);