]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/x-authority.h
Load all users only when really needed
[sojka/lightdm.git] / src / x-authority.h
index d7dacb624a0f0aba6b622dd3f3f430d7e51c1d71..d908422f506165a6be534b3b37cc2a2937c4d9b2 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
@@ -47,7 +47,7 @@ typedef enum
 {
    XAUTH_WRITE_MODE_REPLACE,
    XAUTH_WRITE_MODE_REMOVE,
-   XAUTH_WRITE_MODE_SET  
+   XAUTH_WRITE_MODE_SET
 } XAuthWriteMode;
 
 GType x_authority_get_type (void);
@@ -56,6 +56,8 @@ XAuthority *x_authority_new (guint16 family, const guint8 *address, gsize addres
 
 XAuthority *x_authority_new_cookie (guint16 family, const guint8 *address, gsize address_length, const gchar *number);
 
+XAuthority *x_authority_new_local_cookie (const gchar *number);
+
 void x_authority_set_family (XAuthority *auth, guint16 family);
 
 guint16 x_authority_get_family (XAuthority *auth);