logind.h revision 9d10cbee89ca7f82d29b9cb27bef11e23e3803ba
3996N/A along with systemd; If not, see <http://www.gnu.org/licenses/>.
2516N/A#include "sd-event.h"
2516N/A#include "logind-device.h"
2516N/A#include "logind-inhibit.h"
2516N/A#include "logind-button.h"
3661N/A#include "logind-action.h"
356N/A struct udev_monitor *udev_seat_monitor, *udev_device_monitor, *udev_vcsa_monitor, *udev_button_monitor;
3996N/A int console_active_fd;
unsigned n_autovts;
unsigned reserve_vt;
int reserve_vt_fd;
bool kill_user_processes;
unsigned long session_counter;
unsigned long inhibit_counter;
const char *action_unit;
char *action_job;
bool remove_ipc;
int match_properties_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
int match_name_owner_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
int bus_manager_shutdown_or_sleep_now_or_later(Manager *m, const char *unit_name, InhibitWhat w, sd_bus_error *error);
int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, const char *after, const char *after2, sd_bus_error *error, char **job);
int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo, sd_bus_error *error);
int config_parse_tmpfs_size(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int manager_get_session_from_creds(Manager *m, sd_bus_message *message, const char *name, sd_bus_error *error, Session **ret);
int manager_get_user_from_creds(Manager *m, sd_bus_message *message, uid_t uid, sd_bus_error *error, User **ret);
int manager_get_seat_from_creds(Manager *m, sd_bus_message *message, const char *name, sd_bus_error *error, Seat **ret);