summaryrefslogtreecommitdiff
path: root/src/login/logind-user.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-user.h')
-rw-r--r--src/login/logind-user.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/login/logind-user.h b/src/login/logind-user.h
index c3452dcd08..eba2325284 100644
--- a/src/login/logind-user.h
+++ b/src/login/logind-user.h
@@ -1,27 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
-/***
- This file is part of systemd.
-
- Copyright 2011 Lennart Poettering
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with systemd; If not, see <http://www.gnu.org/licenses/>.
-***/
-
typedef struct User User;
+#include "conf-parser.h"
#include "list.h"
#include "logind.h"
@@ -92,3 +74,5 @@ UserState user_state_from_string(const char *s) _pure_;
int bus_user_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error);
int bus_user_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error);
+
+CONFIG_PARSER_PROTOTYPE(config_parse_compat_user_tasks_max);