]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/xdmcp-protocol.h
Load all users only when really needed
[sojka/lightdm.git] / src / xdmcp-protocol.h
index bac22f6e04596f1ef40bbe37d597d10ee9139c8f..d0a99cff2b4088a72fada83a362a8185f75b6e32 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * 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
@@ -9,8 +9,8 @@
  * license.
  */
 
-#ifndef _XDMCP_PROTOCOL_H_
-#define _XDMCP_PROTOCOL_H_
+#ifndef XDMCP_PROTOCOL_H_
+#define XDMCP_PROTOCOL_H_
 
 #include <glib.h>
 
@@ -49,7 +49,7 @@ typedef struct
 typedef struct
 {
     XDMCPOpcode opcode;
-  
+
     union
     {
         struct
@@ -59,8 +59,8 @@ typedef struct
 
         struct
         {
-            gchar *client_address;
-            gchar *client_port;
+            XDMCPData client_address;
+            XDMCPData client_port;
             gchar **authentication_names;
         } ForwardQuery;
 
@@ -146,4 +146,4 @@ gchar *xdmcp_packet_tostring (XDMCPPacket *packet);
 
 void xdmcp_packet_free (XDMCPPacket *packet);
 
-#endif /* _XDMCP_PROTOCOL_H_ */
+#endif /* XDMCP_PROTOCOL_H_ */