summaryrefslogtreecommitdiff
path: root/tests/src/xdmcp-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/xdmcp-client.h')
-rw-r--r--tests/src/xdmcp-client.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/xdmcp-client.h b/tests/src/xdmcp-client.h
index 7d13fca5..89e97b7b 100644
--- a/tests/src/xdmcp-client.h
+++ b/tests/src/xdmcp-client.h
@@ -12,6 +12,7 @@
#define XDMCP_CLIENT_SIGNAL_ACCEPT "accept"
#define XDMCP_CLIENT_SIGNAL_DECLINE "decline"
#define XDMCP_CLIENT_SIGNAL_FAILED "failed"
+#define XDMCP_CLIENT_SIGNAL_ALIVE "alive"
typedef struct
{
@@ -51,6 +52,12 @@ typedef struct
gchar *status;
} XDMCPFailed;
+typedef struct
+{
+ gboolean session_running;
+ guint32 session_id;
+} XDMCPAlive;
+
typedef struct XDMCPClientPrivate XDMCPClientPrivate;
typedef struct
@@ -67,6 +74,7 @@ typedef struct
void (*accept)(XDMCPClient *client, XDMCPAccept *message);
void (*decline)(XDMCPClient *client, XDMCPDecline *message);
void (*failed)(XDMCPClient *client, XDMCPFailed *message);
+ void (*alive)(XDMCPClient *client, XDMCPAlive *message);
} XDMCPClientClass;
GType xdmcp_client_get_type (void);
@@ -96,6 +104,8 @@ void xdmcp_client_send_request (XDMCPClient *client,
void xdmcp_client_send_manage (XDMCPClient *client, guint32 session_id, guint16 display_number, const gchar *display_class);
+void xdmcp_client_send_keep_alive (XDMCPClient *client, guint16 display_number, guint32 session_id);
+
G_END_DECLS
#endif /* XDMCP_CLIENT_H_ */