| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# Copyright (c) 1998-2004 Graham Barr . All rights reserved. |
|
2
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or |
|
3
|
|
|
|
|
|
|
# modify it under the same terms as Perl itself. |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Net::LDAP::Extension; |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our @ISA = qw(Net::LDAP::Message); |
|
8
|
|
|
|
|
|
|
our $VERSION = '1.04'; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
#fetch the response name |
|
11
|
|
|
|
|
|
|
sub response_name { |
|
12
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
|
13
|
|
|
|
|
|
|
|
|
14
|
0
|
0
|
|
|
|
|
$self->sync unless exists $self->{resultCode}; |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
exists $self->{responseName} |
|
17
|
|
|
|
|
|
|
? $self->{responseName} |
|
18
|
0
|
0
|
|
|
|
|
: undef; |
|
19
|
|
|
|
|
|
|
} |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# fetch the response value |
|
22
|
|
|
|
|
|
|
sub response { |
|
23
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
|
24
|
|
|
|
|
|
|
|
|
25
|
0
|
0
|
|
|
|
|
$self->sync unless exists $self->{resultCode}; |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
exists $self->{responseValue} |
|
28
|
|
|
|
|
|
|
? $self->{responseValue} |
|
29
|
0
|
0
|
|
|
|
|
: undef; |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |