line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::OSCAR::Callbacks; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
31
|
$Net::OSCAR::Callbacks::VERSION = '1.928'; |
4
|
|
|
|
|
|
|
} |
5
|
1
|
|
|
1
|
|
9
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
6
|
1
|
|
|
1
|
|
19
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
48
|
|
7
|
1
|
|
|
1
|
|
6
|
use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
312
|
|
8
|
|
|
|
|
|
|
sub { |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
my $screenname = $data{screenname}; |
11
|
|
|
|
|
|
|
my $user_info = $session->{userinfo}->{$screenname} ||= {}; |
12
|
|
|
|
|
|
|
$user_info->{icon_checksum} = $data{checksum}; |
13
|
|
|
|
|
|
|
$user_info->{icon} = $data{icon}; |
14
|
|
|
|
|
|
|
$session->callback_buddy_icon_downloaded($user_info->{screenname}, $data{icon}); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
}; |