summaryrefslogtreecommitdiff
path: root/src/greeter.h
diff options
context:
space:
mode:
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);