aboutsummaryrefslogtreecommitdiffstats
path: root/src/compat.h
diff options
context:
space:
mode:
authorSpacedio <spacedio@thernusen.net>2026-02-26 19:20:14 -0500
committerSpacedio <spacedio@thernusen.net>2026-02-26 19:20:14 -0500
commitdb657412e6ae93341ed42d59df6aef564a739a1f (patch)
tree6f67f55f6dc61fb0afa8829a950f0dbf1a0aeadf /src/compat.h
downloadlightdm-mini-greeter-db657412e6ae93341ed42d59df6aef564a739a1f.tar.gz
Initial commit after cloneHEADmaster
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
new file mode 100644
index 0000000..10546fa
--- /dev/null
+++ b/src/compat.h
@@ -0,0 +1,12 @@
+#ifndef COMPAT_H
+#define COMPAT_H
+
+#include <lightdm.h>
+
+#include "defines.h"
+
+// v1.19.2 of LightDM introduced GError arguments but Debian jessie & stretch are not updated yet
+gboolean compat_greeter_authenticate(LightDMGreeter *greeter, const gchar *username, GError **error);
+gboolean compat_greeter_respond(LightDMGreeter *greeter, const gchar *response, GError **error);
+
+#endif