Mercurial > pidgin
comparison libpurple/protocols/yahoo/yahoo.h @ 25071:38d188685f2f
changed gboolean connection_type to enum yahoo_p2p_connection_type
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Sat, 12 Jul 2008 19:24:34 +0000 |
parents | c3c5e79b4ecc |
children | 63033139c590 |
comparison
equal
deleted
inserted
replaced
25070:c3c5e79b4ecc | 25071:38d188685f2f |
---|---|
87 typedef enum { | 87 typedef enum { |
88 YAHOO_PKT_TYPE_SERVER = 0, | 88 YAHOO_PKT_TYPE_SERVER = 0, |
89 YAHOO_PKT_TYPE_P2P | 89 YAHOO_PKT_TYPE_P2P |
90 } yahoo_pkt_type; | 90 } yahoo_pkt_type; |
91 | 91 |
92 typedef enum { | |
93 YAHOO_P2P_WE_ARE_CLIENT =0, | |
94 YAHOO_P2P_WE_ARE_SERVER | |
95 } yahoo_p2p_connection_type; | |
96 | |
92 enum yahoo_status { | 97 enum yahoo_status { |
93 YAHOO_STATUS_AVAILABLE = 0, | 98 YAHOO_STATUS_AVAILABLE = 0, |
94 YAHOO_STATUS_BRB, | 99 YAHOO_STATUS_BRB, |
95 YAHOO_STATUS_BUSY, | 100 YAHOO_STATUS_BUSY, |
96 YAHOO_STATUS_NOTATHOME, | 101 YAHOO_STATUS_NOTATHOME, |
124 char *host_username; | 129 char *host_username; |
125 int val_13; | 130 int val_13; |
126 guint input_event; | 131 guint input_event; |
127 gint source; | 132 gint source; |
128 int session_id; | 133 int session_id; |
129 gboolean connection_type; /* 0: peer is server, 1: we are server*/ | 134 yahoo_p2p_connection_type connection_type; |
130 }; | 135 }; |
131 | 136 |
132 struct _YchtConn; | 137 struct _YchtConn; |
133 | 138 |
134 struct yahoo_data { | 139 struct yahoo_data { |