Mercurial > pidgin
comparison src/perl.c @ 1030:38452403563b
[gaim-migrate @ 1040]
updating the buddy list to work better with multiple connections. there are still a bunch of things fucked up with this but i wanted more people to start working on it than just me, especially since i won't be here this weekend.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 27 Oct 2000 07:53:32 +0000 |
parents | 82c5865f7cfe |
children | f168625b63fe |
comparison
equal
deleted
inserted
replaced
1029:740c6f933fe0 | 1030:38452403563b |
---|---|
333 XSRETURN(0); | 333 XSRETURN(0); |
334 } | 334 } |
335 | 335 |
336 XS (XS_AIM_buddy_list) | 336 XS (XS_AIM_buddy_list) |
337 { | 337 { |
338 /* FIXME | |
338 struct buddy *buddy; | 339 struct buddy *buddy; |
339 struct group *g; | 340 struct group *g; |
340 GSList *list = groups; | 341 GSList *list = groups; |
341 GList *mem; | 342 GList *mem; |
342 int i = 0; | 343 int i = 0; |
352 mem = mem->next; | 353 mem = mem->next; |
353 } | 354 } |
354 list = g_slist_next(list); | 355 list = g_slist_next(list); |
355 } | 356 } |
356 XSRETURN(i); | 357 XSRETURN(i); |
358 */ | |
357 } | 359 } |
358 | 360 |
359 XS (XS_AIM_online_list) | 361 XS (XS_AIM_online_list) |
360 { | 362 { |
363 /* FIXME | |
361 struct buddy *b; | 364 struct buddy *b; |
362 struct group *g; | 365 struct group *g; |
363 GSList *list = groups; | 366 GSList *list = groups; |
364 GList *mem; | 367 GList *mem; |
365 int i = 0; | 368 int i = 0; |
375 mem = mem->next; | 378 mem = mem->next; |
376 } | 379 } |
377 list = g_slist_next(list); | 380 list = g_slist_next(list); |
378 } | 381 } |
379 XSRETURN(i); | 382 XSRETURN(i); |
383 */ | |
380 } | 384 } |
381 | 385 |
382 XS (XS_AIM_deny_list) | 386 XS (XS_AIM_deny_list) |
383 { | 387 { |
388 /* FIXME, yet again. perl is so fucked | |
384 char *name; | 389 char *name; |
385 GList *list = deny; | 390 GList *list = deny; |
386 int i = 0; | 391 int i = 0; |
387 dXSARGS; | 392 dXSARGS; |
388 items = 0; | 393 items = 0; |
391 name = (char *)list->data; | 396 name = (char *)list->data; |
392 XST_mPV(i++, name); | 397 XST_mPV(i++, name); |
393 list = list->next; | 398 list = list->next; |
394 } | 399 } |
395 XSRETURN(i); | 400 XSRETURN(i); |
401 */ | |
396 } | 402 } |
397 | 403 |
398 XS (XS_AIM_command) | 404 XS (XS_AIM_command) |
399 { | 405 { |
400 int junk; | 406 int junk; |
435 XSRETURN(0); | 441 XSRETURN(0); |
436 } | 442 } |
437 | 443 |
438 XS (XS_AIM_user_info) | 444 XS (XS_AIM_user_info) |
439 { | 445 { |
446 /* FIXME | |
440 int junk; | 447 int junk; |
441 struct buddy *buddy; | 448 struct buddy *buddy; |
442 char *nick; | 449 char *nick; |
443 dXSARGS; | 450 dXSARGS; |
444 items = 0; | 451 items = 0; |
455 XST_mIV(3, buddy->signon); | 462 XST_mIV(3, buddy->signon); |
456 XST_mIV(4, buddy->idle); | 463 XST_mIV(4, buddy->idle); |
457 XST_mIV(5, buddy->uc); | 464 XST_mIV(5, buddy->uc); |
458 XST_mIV(6, buddy->caps); | 465 XST_mIV(6, buddy->caps); |
459 XSRETURN(7); | 466 XSRETURN(7); |
467 */ | |
460 } | 468 } |
461 | 469 |
462 XS (XS_AIM_print_to_conv) | 470 XS (XS_AIM_print_to_conv) |
463 { | 471 { |
464 /* FIXME | 472 /* FIXME |