summaryrefslogtreecommitdiff
path: root/src/greeter.h
diff options
context:
space:
mode:
authorrobert.ancell@gmail.com <>2010-04-30 15:48:00 +1000
committerrobert.ancell@gmail.com <>2010-04-30 15:48:00 +1000
commit993a8d4ab5506443bd6f314905189da56f79cdf1 (patch)
tree7cb7815231b4da4da5b82b10b93f1736d076e31a /src/greeter.h
parent98f1856efcb103db8bb7935382556f070911c190 (diff)
downloadlightdm-993a8d4ab5506443bd6f314905189da56f79cdf1.tar.gz
Improvements to greeter spawning. Add support for user detection
Diffstat (limited to 'src/greeter.h')
-rw-r--r--src/greeter.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/greeter.h b/src/greeter.h
index 8d7cfaab..a35f1c9b 100644
--- a/src/greeter.h
+++ b/src/greeter.h
@@ -37,10 +37,22 @@ typedef struct
void (*authentication_complete)(Greeter *greeter);
} GreeterClass;
+typedef struct
+{
+ const char *name;
+ const char *real_name;
+} UserInfo;
+
GType greeter_get_type (void);
Greeter *greeter_new (void);
+gboolean greeter_connect (Greeter *greeter);
+
+gint greeter_get_num_users (Greeter *greeter);
+
+const GList *greeter_get_users (Greeter *greeter);
+
void greeter_start_authentication (Greeter *greeter, const char *username);
void greeter_provide_secret (Greeter *greeter, const gchar *secret);