comparison libpurple/protocols/oscar/peer.c @ 30007:0d3145e6b1d6

Change the oscar capabilities variable to be a guint64 everywhere instead of an enum, which can be 32 bits
author Mark Doliner <mark@kingant.net>
date Thu, 18 Mar 2010 04:53:49 +0000
parents 993483dda1b8
children 4297feb30ad1
comparison
equal deleted inserted replaced
30006:ffc1f997cb91 30007:0d3145e6b1d6
67 #ifndef PF_INET6 67 #ifndef PF_INET6
68 #define PF_INET6 PF_INET 68 #define PF_INET6 PF_INET
69 #endif 69 #endif
70 70
71 PeerConnection * 71 PeerConnection *
72 peer_connection_find_by_type(OscarData *od, const char *bn, OscarCapability type) 72 peer_connection_find_by_type(OscarData *od, const char *bn, guint64 type)
73 { 73 {
74 GSList *cur; 74 GSList *cur;
75 PeerConnection *conn; 75 PeerConnection *conn;
76 76
77 for (cur = od->peer_connections; cur != NULL; cur = cur->next) 77 for (cur = od->peer_connections; cur != NULL; cur = cur->next)
102 102
103 return NULL; 103 return NULL;
104 } 104 }
105 105
106 PeerConnection * 106 PeerConnection *
107 peer_connection_new(OscarData *od, OscarCapability type, const char *bn) 107 peer_connection_new(OscarData *od, guint64 type, const char *bn)
108 { 108 {
109 PeerConnection *conn; 109 PeerConnection *conn;
110 PurpleAccount *account; 110 PurpleAccount *account;
111 111
112 account = purple_connection_get_account(od->gc); 112 account = purple_connection_get_account(od->gc);
895 895
896 /** 896 /**
897 * Initiate a peer connection with someone. 897 * Initiate a peer connection with someone.
898 */ 898 */
899 void 899 void
900 peer_connection_propose(OscarData *od, OscarCapability type, const char *bn) 900 peer_connection_propose(OscarData *od, guint64 type, const char *bn)
901 { 901 {
902 PeerConnection *conn; 902 PeerConnection *conn;
903 903
904 if (type == OSCAR_CAPABILITY_DIRECTIM) 904 if (type == OSCAR_CAPABILITY_DIRECTIM)
905 { 905 {