logind-user.h revision 5f41d1f10fd97e93517b6a762b1bec247f4d1171
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek This file is part of systemd.
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek Copyright 2011 Lennart Poettering
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek systemd is free software; you can redistribute it and/or modify it
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek under the terms of the GNU Lesser General Public License as published by
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek the Free Software Foundation; either version 2.1 of the License, or
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek (at your option) any later version.
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek systemd is distributed in the hope that it will be useful, but
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek WITHOUT ANY WARRANTY; without even the implied warranty of
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek Lesser General Public License for more details.
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek You should have received a copy of the GNU Lesser General Public License
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4Zbigniew Jędrzejewski-Szmek along with systemd; If not, see <http://www.gnu.org/licenses/>.
#include "logind-session.h"
typedef enum UserState {
} UserState;
struct User {
char *name;
char *state_file;
char *runtime_path;
char *service;
char *slice;
char *service_job;
char *slice_job;
int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
int user_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);