summaryrefslogtreecommitdiff
path: root/src/xdmcp-session-private.h
blob: c65597c9504da0630cb88d86c94cca34c9263bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (C) 2010 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
 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
 * license.
 */

#ifndef _XDMCP_SESSION_PRIVATE_H_
#define _XDMCP_SESSION_PRIVATE_H_

#include "xdmcp-server.h"
#include <xcb/xcb.h>

struct XDMCPSessionPrivate
{
    XDMCPServer *server;

    guint16 id;

    gchar *manufacturer_display_id;

    GInetAddress *address;

    guint inactive_timeout;

    gchar *authorization_name;
  
    /* Session key for XDM-AUTHORIZATION-1 */
    guchar key[8];
  
    gboolean started;

    guint16 display_number;

    gchar *display_class;

    xcb_connection_t *connection;
};

#endif /* _XDMCP_SESSION_PRIVATE_H_ */