summaryrefslogtreecommitdiff
path: root/src/grp-login/liblogind-core/logind-device.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-17 01:33:02 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-17 01:33:02 -0400
commit610d801297fe7e46c319e6da4e6571aaded630dd (patch)
treed27f6d077694b84ed9881c99b2894701932ca6e1 /src/grp-login/liblogind-core/logind-device.h
parent7648bff2717c24e9f5c90ec9e4588eda510aba9d (diff)
more
Diffstat (limited to 'src/grp-login/liblogind-core/logind-device.h')
-rw-r--r--src/grp-login/liblogind-core/logind-device.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/grp-login/liblogind-core/logind-device.h b/src/grp-login/liblogind-core/logind-device.h
deleted file mode 100644
index 9e2678d801..0000000000
--- a/src/grp-login/liblogind-core/logind-device.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#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/>.
-***/
-
-#include "basic/list.h"
-
-typedef struct Device Device;
-
-#include "logind-seat.h"
-#include "logind-session-device.h"
-
-struct Device {
- Manager *manager;
-
- char *sysfs;
- Seat *seat;
- bool master;
-
- dual_timestamp timestamp;
-
- LIST_FIELDS(struct Device, devices);
- LIST_HEAD(SessionDevice, session_devices);
-};
-
-Device* device_new(Manager *m, const char *sysfs, bool master);
-void device_free(Device *d);
-void device_attach(Device *d, Seat *s);