- Timestamp:
- 2010-07-24T11:15:43Z (14 years ago)
- Branches:
- master
- Children:
- ccc595b
- Parents:
- 9034ba0
- Location:
- protocols/yahoo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/Makefile
r9034ba0 r78e2eb7 15 15 objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_util.o 16 16 17 CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB 17 CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB -Wno-pointer-to-int-cast 18 18 LFLAGS += -r 19 19 -
protocols/yahoo/yahoo.c
r9034ba0 r78e2eb7 339 339 static void byahoo_auth_allow( struct im_connection *ic, const char *who ) 340 340 { 341 /*342 341 struct byahoo_data *yd = (struct byahoo_data *) ic->proto_data; 343 342 344 yahoo_accept_buddy_ymsg13( yd->y2_id, NULL, who ); 345 */ 343 yahoo_confirm_buddy( yd->y2_id, who, 0, "" ); 346 344 } 347 345 348 346 static void byahoo_auth_deny( struct im_connection *ic, const char *who ) 349 347 { 350 /*351 348 struct byahoo_data *yd = (struct byahoo_data *) ic->proto_data; 352 349 353 yahoo_reject_buddy_ymsg13( yd->y2_id, NULL, who, NULL ); 354 */ 350 yahoo_confirm_buddy( yd->y2_id, who, 1, "" ); 355 351 } 356 352 … … 929 925 } 930 926 931 void ext_yahoo_contact_auth_request( int id, const char *myid, const char *who, const char *msg )932 {933 /* Apparently no longer implemented.. */934 }935 936 927 void ext_yahoo_contact_added( int id, const char *myid, const char *who, const char *msg ) 937 928 { 938 929 struct im_connection *ic = byahoo_get_ic_by_id( id ); 939 930 940 imcb_a dd_buddy( ic, (char*) who, NULL);931 imcb_ask_auth( ic, who, msg ); 941 932 } 942 933
Note: See TracChangeset
for help on using the changeset viewer.