Back to index

lightdm  1.3.2
Classes | Defines | Typedefs | Functions
xdmcp-session.h File Reference
#include <glib-object.h>
#include <gio/gio.h>
#include "xauthority.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XDMCPSession
struct  XDMCPSessionClass

Defines

#define XDMCP_SESSION_TYPE   (xdmcp_session_get_type())
#define XDMCP_SESSION(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), XDMCP_SESSION_TYPE, XDMCPSession));

Typedefs

typedef struct XDMCPSessionPrivate

Functions

GType xdmcp_session_get_type (void)
XDMCPSessionxdmcp_session_new (guint16 id)
guint16 xdmcp_session_get_id (XDMCPSession *session)
const gchar * xdmcp_session_get_manufacturer_display_id (XDMCPSession *session)
GInetAddress * xdmcp_session_get_address (XDMCPSession *session)
XAuthorityxdmcp_session_get_authority (XDMCPSession *session)
guint16 xdmcp_session_get_display_number (XDMCPSession *session)
const gchar * xdmcp_session_get_display_class (XDMCPSession *session)

Class Documentation

struct XDMCPSession

Definition at line 27 of file xdmcp-session.h.

Collaboration diagram for XDMCPSession:
Class Members
GObject parent_instance
XDMCPSessionPrivate * priv
struct XDMCPSessionClass

Definition at line 33 of file xdmcp-session.h.

Class Members
GObjectClass parent_class

Define Documentation

#define XDMCP_SESSION (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), XDMCP_SESSION_TYPE, XDMCPSession));

Definition at line 23 of file xdmcp-session.h.

Definition at line 22 of file xdmcp-session.h.


Typedef Documentation

typedef struct XDMCPSessionPrivate

Definition at line 25 of file xdmcp-session.h.


Function Documentation

GInetAddress* xdmcp_session_get_address ( XDMCPSession session)

Definition at line 42 of file xdmcp-session.c.

{
    g_return_val_if_fail (session != NULL, NULL);
    return session->priv->address;
}

Here is the caller graph for this function:

Definition at line 49 of file xdmcp-session.c.

{
    g_return_val_if_fail (session != NULL, NULL);
    return session->priv->authority;
}

Here is the caller graph for this function:

const gchar* xdmcp_session_get_display_class ( XDMCPSession session)

Definition at line 63 of file xdmcp-session.c.

{
    g_return_val_if_fail (session != NULL, NULL);
    return session->priv->display_class;
}

Definition at line 56 of file xdmcp-session.c.

{
    g_return_val_if_fail (session != NULL, 0);
    return session->priv->display_number;
}

Here is the caller graph for this function:

guint16 xdmcp_session_get_id ( XDMCPSession session)

Definition at line 28 of file xdmcp-session.c.

{
    g_return_val_if_fail (session != NULL, 0);
    return session->priv->id;
}

Here is the caller graph for this function:

Definition at line 35 of file xdmcp-session.c.

{
    g_return_val_if_fail (session != NULL, NULL);
    return session->priv->manufacturer_display_id;
}
GType xdmcp_session_get_type ( void  )
XDMCPSession* xdmcp_session_new ( guint16  id)

Definition at line 18 of file xdmcp-session.c.

{
    XDMCPSession *self = g_object_new (XDMCP_SESSION_TYPE, NULL);

    self->priv->id = id;

    return self;
}

Here is the caller graph for this function: