X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=execute.h;h=737973dad90e8fe112e380bd11d4aa27fa1ce4da;hp=fff54b120e62fc80badc3b1411b5e67ffb478a9f;hb=7898b0cf7ec1a30454538b415e25d544ecee5d5b;hpb=94f043472a5af62dc9cd5767e89ba33872212d5e diff --git a/execute.h b/execute.h index fff54b120..737973dad 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; @@ -18,7 +37,7 @@ typedef struct ExecContext ExecContext; #include "util.h" /* Abstract namespace! */ -#define LOGGER_SOCKET "/systemd/logger" +#define LOGGER_SOCKET "/org/freedesktop.org/systemd1/logger" typedef enum ExecOutput { EXEC_OUTPUT_CONSOLE, @@ -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; @@ -102,7 +124,6 @@ typedef enum ExitStatus { /* The LSB suggests that error codes >= 200 are "reserved". We * use them here under the assumption that they hence are * unused by init scripts. - * c-> * * http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html */