summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-29 14:27:04 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-29 14:27:04 -0400
commit1c5ed0e2b4923b12be52c9c3e8f43682403dcf32 (patch)
treed80c372d5327113b7bd5321b877f816bb57259f6 /src/core/service.h
parent313fe66fbd0cd3d62566edece7944d6cf45b1b21 (diff)
parentf9bf1b8fee76d4ae2e1676efeecf492493bf67ba (diff)
Merge pull request #3148 from poettering/trigger
core: introduce activation rate limit and parse nice levels and close sockets properly
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h
index cd9e41646e..c7f1e81bdb 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -198,6 +198,7 @@ struct Service {
extern const UnitVTable service_vtable;
int service_set_socket_fd(Service *s, int fd, struct Socket *socket, bool selinux_context_net);
+void service_close_socket_fd(Service *s);
const char* service_restart_to_string(ServiceRestart i) _const_;
ServiceRestart service_restart_from_string(const char *s) _pure_;