chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: enforce a limit on inhibitors we hand out
[elogind.git]
/
src
/
login
/
logind-session.h
diff --git
a/src/login/logind-session.h
b/src/login/logind-session.h
index e09c95a8619da3421f6b40f274f3e0f9639fd7b1..b315f01dcb63a9843c5fb68b21632d5dabe7a0a4 100644
(file)
--- a/
src/login/logind-session.h
+++ b/
src/login/logind-session.h
@@
-1,5
+1,3
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
#pragma once
/***
@@
-25,8
+23,8
@@
typedef struct Session Session;
typedef enum KillWho KillWho;
#include "list.h"
typedef enum KillWho KillWho;
#include "list.h"
+#include "login-util.h"
#include "logind-user.h"
#include "logind-user.h"
-#include "login-shared.h"
typedef enum SessionState {
SESSION_OPENING, /* Session scope is being created */
typedef enum SessionState {
SESSION_OPENING, /* Session scope is being created */
@@
-70,7
+68,7
@@
struct Session {
Manager *manager;
const char *id;
Manager *manager;
const char *id;
- unsigned int pos;
+ unsigned int pos
ition
;
SessionType type;
SessionClass class;
SessionType type;
SessionClass class;
@@
-89,8
+87,11
@@
struct Session {
char *service;
char *desktop;
char *service;
char *desktop;
- /*
Always NULL.
*/
+ /*
always NULL
*/
char *scope;
char *scope;
+#if 0 /// UNNEEDED by elogind
+ char *scope_job;
+#endif // 0
Seat *seat;
unsigned int vtnr;
Seat *seat;
unsigned int vtnr;
@@
-117,6
+118,7
@@
struct Session {
char *controller;
Hashmap *devices;
char *controller;
Hashmap *devices;
+ sd_bus_track *track;
LIST_FIELDS(Session, sessions_by_user);
LIST_FIELDS(Session, sessions_by_seat);
LIST_FIELDS(Session, sessions_by_user);
LIST_FIELDS(Session, sessions_by_seat);