/usr/lib/x86_64-linux-gnu/perl5/5.20/OBEXFTP.pm is in libobexftp-perl 0.23-4+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.33
#
# Don't modify this file, modify the SWIG interface instead.
package OBEXFTP;
require Exporter;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
package OBEXFTPc;
bootstrap OBEXFTP;
package OBEXFTP;
@EXPORT = qw( );
# ---------- BASE METHODS -------------
package OBEXFTP;
sub TIEHASH {
my ($classname,$obj) = @_;
return bless $obj, $classname;
}
sub CLEAR { }
sub FIRSTKEY { }
sub NEXTKEY { }
sub FETCH {
my ($self,$field) = @_;
my $member_func = "swig_${field}_get";
$self->$member_func();
}
sub STORE {
my ($self,$field,$newval) = @_;
my $member_func = "swig_${field}_set";
$self->$member_func($newval);
}
sub this {
my $ptr = shift;
return tied(%$ptr);
}
# ------- FUNCTION WRAPPERS --------
package OBEXFTP;
*discover = *OBEXFTPc::discover;
*browsebt = *OBEXFTPc::browsebt;
############# Class : OBEXFTP::client ##############
package OBEXFTP::client;
use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
@ISA = qw( OBEXFTP );
%OWNER = ();
%ITERATORS = ();
sub new {
my $pkg = shift;
my $self = OBEXFTPc::new_client(@_);
bless $self, $pkg if defined($self);
}
sub DESTROY {
return unless $_[0]->isa('HASH');
my $self = tied(%{$_[0]});
return unless defined $self;
delete $ITERATORS{$self};
if (exists $OWNER{$self}) {
OBEXFTPc::delete_client($self);
delete $OWNER{$self};
}
}
*callback = *OBEXFTPc::client_callback;
*discover = *OBEXFTPc::client_discover;
*connect = *OBEXFTPc::client_connect;
*connectpush = *OBEXFTPc::client_connectpush;
*connectsync = *OBEXFTPc::client_connectsync;
*disconnect = *OBEXFTPc::client_disconnect;
*chpath = *OBEXFTPc::client_chpath;
*mkpath = *OBEXFTPc::client_mkpath;
*cdup = *OBEXFTPc::client_cdup;
*cdtop = *OBEXFTPc::client_cdtop;
*get = *OBEXFTPc::client_get;
*list = *OBEXFTPc::client_list;
*get_capability = *OBEXFTPc::client_get_capability;
*get_file = *OBEXFTPc::client_get_file;
*put_file = *OBEXFTPc::client_put_file;
*put_data = *OBEXFTPc::client_put_data;
*delete = *OBEXFTPc::client_delete;
sub DISOWN {
my $self = shift;
my $ptr = tied(%$self);
delete $OWNER{$ptr};
}
sub ACQUIRE {
my $self = shift;
my $ptr = tied(%$self);
$OWNER{$ptr} = 1;
}
# ------- VARIABLE STUBS --------
package OBEXFTP;
*IRDA = *OBEXFTPc::IRDA;
*INET = *OBEXFTPc::INET;
*CABLE = *OBEXFTPc::CABLE;
*BLUETOOTH = *OBEXFTPc::BLUETOOTH;
*USB = *OBEXFTPc::USB;
*SYNC = *OBEXFTPc::SYNC;
*PUSH = *OBEXFTPc::PUSH;
*FTP = *OBEXFTPc::FTP;
1;
|