/*
- * Copyright (C) 2010 Robert Ancell.
+ * 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
* license.
*/
-#ifndef _XDMCP_PROTOCOL_H_
-#define _XDMCP_PROTOCOL_H_
+#ifndef XDMCP_PROTOCOL_H_
+#define XDMCP_PROTOCOL_H_
#include <glib.h>
typedef struct
{
XDMCPOpcode opcode;
-
+
union
{
struct
struct
{
- gchar *client_address;
- gchar *client_port;
+ XDMCPData client_address;
+ XDMCPData client_port;
gchar **authentication_names;
} ForwardQuery;
void xdmcp_packet_free (XDMCPPacket *packet);
-#endif /* _XDMCP_PROTOCOL_H_ */
+#endif /* XDMCP_PROTOCOL_H_ */