Changeset 3cd37d7
- Timestamp:
- 2012-10-20T09:44:59Z (12 years ago)
- Branches:
- master
- Children:
- 4d82e50
- Parents:
- 509cf60
- Location:
- protocols/yahoo
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r509cf60 r3cd37d7 119 119 va_end(ap); 120 120 return YAHOO_CALLBACK(ext_yahoo_log) ("%s", out); 121 }122 123 int yahoo_connect(char *host, int port)124 {125 return YAHOO_CALLBACK(ext_yahoo_connect) (host, port);126 121 } 127 122 … … 3581 3576 } 3582 3577 3578 #if 0 3583 3579 void yahoo_send_buzz(int id, const char *from, const char *who) 3584 3580 { 3585 3581 yahoo_send_im(id, from, who, "<ding>", 1, 0); 3586 3582 } 3583 #endif 3587 3584 3588 3585 void yahoo_send_im(int id, const char *from, const char *who, const char *what, … … 3726 3723 } 3727 3724 3725 #if 0 3728 3726 void yahoo_get_list(int id) 3729 3727 { … … 3745 3743 } 3746 3744 } 3745 #endif 3747 3746 3748 3747 static void _yahoo_http_connected(int id, void *fd, int error, void *data) … … 3863 3862 _yahoo_http_post_connected, yad); 3864 3863 } 3865 #endif3866 3864 3867 3865 void yahoo_set_identity_status(int id, const char *identity, int active) … … 3903 3901 } 3904 3902 } 3903 #endif 3905 3904 3906 3905 void yahoo_keepalive(int id) … … 3920 3919 } 3921 3920 3921 #if 0 3922 3922 void yahoo_chat_keepalive(int id) 3923 3923 { … … 3937 3937 yahoo_packet_free(pkt); 3938 3938 } 3939 #endif 3939 3940 3940 3941 void yahoo_add_buddy(int id, const char *who, const char *group, … … 4029 4030 } 4030 4031 4032 #if 0 4031 4033 void yahoo_ignore_buddy(int id, const char *who, int unignore) 4032 4034 { … … 4075 4077 yahoo_packet_free(pkt); 4076 4078 } 4079 #endif 4077 4080 4078 4081 void yahoo_change_buddy_group(int id, const char *who, const char *old_group, … … 4103 4106 } 4104 4107 4108 #if 0 4105 4109 void yahoo_group_rename(int id, const char *old_group, const char *new_group) 4106 4110 { … … 4154 4158 yahoo_packet_free(pkt); 4155 4159 } 4160 #endif 4156 4161 4157 4162 void yahoo_conference_invite(int id, const char *from, YList *who, -
protocols/yahoo/yahoo.c
r509cf60 r3cd37d7 570 570 } 571 571 572 void ext_yahoo_got_ignore( int id, YList *igns )573 {574 }575 576 572 void ext_yahoo_got_identities( int id, YList *ids ) 577 573 { … … 814 810 } 815 811 816 /* Because we don't want asynchronous connects in BitlBee, and because817 libyahoo doesn't seem to use this one anyway, this one is now defunct. */818 int ext_yahoo_connect(const char *host, int port)819 {820 return -1;821 }822 823 812 static void byahoo_accept_conf( void *data ) 824 813 { -
protocols/yahoo/yahoo2.h
r509cf60 r3cd37d7 121 121 void yahoo_send_im(int id, const char *from, const char *who, 122 122 const char *msg, int utf8, int picture); 123 void yahoo_send_buzz(int id, const char *from, const char *who);123 // void yahoo_send_buzz(int id, const char *from, const char *who); 124 124 /* if type is true, send typing notice, else send stopped typing notice */ 125 125 void yahoo_send_typing(int id, const char *from, const char *who, -
protocols/yahoo/yahoo2_callbacks.h
r509cf60 r3cd37d7 113 113 * igns - the ignore list 114 114 */ 115 void YAHOO_CALLBACK_TYPE(ext_yahoo_got_ignore) (int id, YList *igns);115 // void YAHOO_CALLBACK_TYPE(ext_yahoo_got_ignore) (int id, YList *igns); 116 116 117 117 /* … … 678 678 * a unix file descriptor to the socket 679 679 */ 680 int YAHOO_CALLBACK_TYPE(ext_yahoo_connect) (const char *host, int port);680 // int YAHOO_CALLBACK_TYPE(ext_yahoo_connect) (const char *host, int port); 681 681 682 682 /* -
protocols/yahoo/yahoo_httplib.c
r509cf60 r3cd37d7 62 62 extern enum yahoo_log_level log_level; 63 63 64 #if 0 64 65 int yahoo_tcp_readline(char *ptr, int maxlen, void *fd) 65 66 { … … 93 94 return (n); 94 95 } 96 #endif 95 97 96 98 static int url_to_host_port_path(const char *url, … … 183 185 } 184 186 187 #if 0 185 188 char *yahoo_urldecode(const char *instr) 186 189 { … … 279 282 return (str); 280 283 } 284 #endif 281 285 282 286 typedef void (*http_connected) (int id, void *fd, int error);
Note: See TracChangeset
for help on using the changeset viewer.