/*
* 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
{
XAUTH_WRITE_MODE_REPLACE,
XAUTH_WRITE_MODE_REMOVE,
- XAUTH_WRITE_MODE_SET
+ XAUTH_WRITE_MODE_SET
} XAuthWriteMode;
GType x_authority_get_type (void);
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);