]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/guest-account.h
Load all users only when really needed
[sojka/lightdm.git] / src / guest-account.h
index 5595c2e843b9b3ade4001b9e68ca3a4b5403dd43..9de60fdc11bf596a65336d74305a7b9785a93b7b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2010-2011 Robert Ancell.
  * Author: Robert Ancell <robert.ancell@canonical.com>
- * 
+ *
  * This program is free software: you can redistribute it and/or modify it under
  * the terms of the GNU General Public License as published by the Free Software
  * Foundation, either version 3 of the License, or (at your option) any later
@@ -9,21 +9,19 @@
  * license.
  */
 
-#ifndef _GUEST_ACCOUNT_H_
-#define _GUEST_ACCOUNT_H_
+#ifndef GUEST_ACCOUNT_H_
+#define GUEST_ACCOUNT_H_
 
 #include <glib-object.h>
 
 G_BEGIN_DECLS
 
-gboolean guest_account_get_is_enabled (void);
+gboolean guest_account_is_installed (void);
 
-const gchar *guest_account_get_username (void);
+gchar *guest_account_setup (void);
 
-gboolean guest_account_ref (void);
-
-void guest_account_unref (void);
+void guest_account_cleanup (const gchar *username);
 
 G_END_DECLS
 
-#endif /* _GUEST_ACCOUNT_H_ */
+#endif /* GUEST_ACCOUNT_H_ */