X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=socket.h;h=f821186ec9bcca41ca563dba12abaf96965120bb;hb=70123e68a04016efca9266fc22dd05a0a7fd2d51;hp=5495e3c5b9a9ccbd3b6353dc9a3491e310ff91cb;hpb=ceee3d82853a198884795e5d815b895468212b24;p=elogind.git diff --git a/socket.h b/socket.h index 5495e3c5b..f821186ec 100644 --- a/socket.h +++ b/socket.h @@ -3,6 +3,25 @@ #ifndef foosockethfoo #define foosockethfoo +/*** + 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 Socket Socket; #include "manager.h" @@ -70,10 +89,14 @@ struct Socket { SocketState state; + KillMode kill_mode; + ExecCommand* control_command; pid_t control_pid; char *bind_to_device; + mode_t directory_mode; + mode_t socket_mode; bool failure; Watch timer_watch;