diff src/protocols/rendezvous/rendezvous.h @ 10549:8bc7ba019e96

[gaim-migrate @ 11919] This should make rendezvous compile again. It's back to being able to somewhat sign on and see other people. Still nowhere near being able to message. I think I want to work on messaging, then maybe come back and look into using a third party lib or maybe just an external mDNS server for presence. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 27 Jan 2005 05:28:08 +0000
parents 782c1b564906
children
line wrap: on
line diff
--- a/src/protocols/rendezvous/rendezvous.h	Thu Jan 27 05:24:26 2005 +0000
+++ b/src/protocols/rendezvous/rendezvous.h	Thu Jan 27 05:28:08 2005 +0000
@@ -51,14 +51,14 @@
 #endif
 	gchar *firstandlast;
 	gchar *aim;
-	gchar *ipv4; /* String representation of an IPv4 address */
-	gchar *ipv6; /* String representation of an IPv6 address */
+	unsigned char ipv4[4];		/**< An IPv4 address */
+	unsigned char ipv6[16];		/**< An IPv6 address */
 	unsigned short p2pjport;
 	int status;
-	int idle;		/**< Current idle time in seconds since the epoch.	*/
-	gchar *msg;		/**< Current status message of this buddy.			*/
-	int fd;			/**< File descriptor of the P2PJ socket.			*/
-	int watcher;	/**< Handle for the watcher of the P2PJ socket.		*/
+	int idle;					/**< Current idle time in seconds since the epoch.	*/
+	gchar *msg;					/**< Current status message of this buddy.			*/
+	int fd;						/**< File descriptor of the P2PJ socket.			*/
+	int watcher;				/**< Handle for the watcher of the P2PJ socket.		*/
 } RendezvousBuddy;
 
 #endif /* _RENDEZVOUS_H_ */