Changes in protocols/yahoo/libyahoo2.c [d7edadf:3cd37d7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
rd7edadf r3cd37d7 83 83 #include "yahoo_httplib.h" 84 84 #include "yahoo_util.h" 85 #include "yahoo_fn.h"86 85 87 86 #include "yahoo2_callbacks.h" … … 120 119 va_end(ap); 121 120 return YAHOO_CALLBACK(ext_yahoo_log) ("%s", out); 122 }123 124 int yahoo_connect(char *host, int port)125 {126 return YAHOO_CALLBACK(ext_yahoo_connect) (host, port);127 121 } 128 122 … … 375 369 */ 376 370 371 #if 0 377 372 static struct yahoo_input_data *find_input_by_id_and_webcam_user(int id, 378 373 const char *who) … … 391 386 return NULL; 392 387 } 388 #endif 393 389 394 390 static struct yahoo_input_data *find_input_by_id_and_type(int id, … … 430 426 return c; 431 427 } 432 433 extern char *yahoo_crypt(char *, char *);434 428 435 429 /* Free a buddy list */ … … 2643 2637 } 2644 2638 2639 #if 0 2645 2640 static struct yab *yahoo_yab_read(unsigned char *d, int len) 2646 2641 { … … 2793 2788 return yab; 2794 2789 } 2790 #endif 2795 2791 2796 2792 static char *yahoo_getwebcam_master(struct yahoo_input_data *yid) … … 3100 3096 } 3101 3097 3098 #if 0 3102 3099 static void yahoo_process_yab_connection(struct yahoo_input_data *yid, int over) 3103 3100 { … … 3159 3156 yd->buddies); 3160 3157 } 3158 #endif 3161 3159 3162 3160 static void yahoo_process_search_connection(struct yahoo_input_data *yid, … … 3414 3412 int over) = { 3415 3413 yahoo_process_pager_connection, yahoo_process_ft_connection, 3416 yahoo_process_yab_connection,3414 NULL, /*yahoo_process_yab_connection, */ 3417 3415 yahoo_process_webcam_master_connection, 3418 3416 yahoo_process_webcam_connection, … … 3578 3576 } 3579 3577 3578 #if 0 3580 3579 void yahoo_send_buzz(int id, const char *from, const char *who) 3581 3580 { 3582 3581 yahoo_send_im(id, from, who, "<ding>", 1, 0); 3583 3582 } 3583 #endif 3584 3584 3585 3585 void yahoo_send_im(int id, const char *from, const char *who, const char *what, … … 3723 3723 } 3724 3724 3725 #if 0 3725 3726 void yahoo_get_list(int id) 3726 3727 { … … 3742 3743 } 3743 3744 } 3745 #endif 3744 3746 3745 3747 static void _yahoo_http_connected(int id, void *fd, int error, void *data) … … 3758 3760 } 3759 3761 3762 #if 0 3760 3763 /* FIXME Get address book from address.yahoo.com instead */ 3761 3764 void yahoo_get_yab(int id) … … 3898 3901 } 3899 3902 } 3903 #endif 3900 3904 3901 3905 void yahoo_keepalive(int id) … … 3915 3919 } 3916 3920 3921 #if 0 3917 3922 void yahoo_chat_keepalive(int id) 3918 3923 { … … 3932 3937 yahoo_packet_free(pkt); 3933 3938 } 3939 #endif 3934 3940 3935 3941 void yahoo_add_buddy(int id, const char *who, const char *group, … … 4024 4030 } 4025 4031 4032 #if 0 4026 4033 void yahoo_ignore_buddy(int id, const char *who, int unignore) 4027 4034 { … … 4070 4077 yahoo_packet_free(pkt); 4071 4078 } 4079 #endif 4072 4080 4073 4081 void yahoo_change_buddy_group(int id, const char *who, const char *old_group, … … 4098 4106 } 4099 4107 4108 #if 0 4100 4109 void yahoo_group_rename(int id, const char *old_group, const char *new_group) 4101 4110 { … … 4149 4158 yahoo_packet_free(pkt); 4150 4159 } 4160 #endif 4151 4161 4152 4162 void yahoo_conference_invite(int id, const char *from, YList *who, … … 4290 4300 } 4291 4301 4302 #if 0 4292 4303 void yahoo_get_chatrooms(int id, int chatroomid) 4293 4304 { … … 4732 4743 /* Not Implemented */ 4733 4744 } 4745 #endif 4734 4746 4735 4747 /* File Transfer */ … … 4759 4771 }; 4760 4772 4773 #if 0 4761 4774 static char *yahoo_get_random(void) 4762 4775 { … … 4788 4801 return strdup(out); 4789 4802 } 4803 #endif 4790 4804 4791 4805 static int _are_same_id(const void *sfd1, const void *id) … … 5168 5182 } 5169 5183 5184 #if 0 5170 5185 void yahoo_send_file(int id, const char *who, const char *msg, 5171 5186 const char *name, unsigned long size, … … 5246 5261 yahoo_remove_active_transfer(sfd); 5247 5262 } 5263 #endif 5248 5264 5249 5265 static void yahoo_process_ft_connection(struct yahoo_input_data *yid, int over) … … 5359 5375 /* End File Transfer */ 5360 5376 5377 #if 0 5361 5378 enum yahoo_status yahoo_current_status(int id) 5362 5379 { … … 5408 5425 return NULL; 5409 5426 } 5427 #endif 5410 5428 5411 5429 const char *yahoo_get_profile_url(void)
Note: See TracChangeset
for help on using the changeset viewer.