# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.33
+# Version 1.3.35
#
# Don't modify this file, modify the SWIG interface instead.
*swig_status_set = *Amanda::Logfilec::find_result_t_status_set;
*swig_partnum_get = *Amanda::Logfilec::find_result_t_partnum_get;
*swig_partnum_set = *Amanda::Logfilec::find_result_t_partnum_set;
+*swig_sec_get = *Amanda::Logfilec::find_result_t_sec_get;
+*swig_sec_set = *Amanda::Logfilec::find_result_t_sec_set;
+*swig_kb_get = *Amanda::Logfilec::find_result_t_kb_get;
+*swig_kb_set = *Amanda::Logfilec::find_result_t_kb_set;
sub new {
my $pkg = shift;
my $self = Amanda::Logfilec::new_find_result_t(@_);
=head1 SYNOPSIS
- use Amanda::Logfile qw(:logtype_t); # XXX change
+ use Amanda::Logfile qw(:logtype_t);
use Amanda::Config qw( :getconf config_dir_relative );
for my $logfile (Amanda::Logfile::find_log()) {
}
Amanda::Logfile::close_logfile($log);
- my @dumps = Amanda::Logfile::search_logfile("TapeLabel-001", "19780615", $logfile);
+ my @dumps = Amanda::Logfile::search_logfile("TapeLabel-001", "19780615", $logfile, 1);
my @matching = Amanda::Logfile::dumps_match([@dumps], "myhost", "/usr", undef, undef, 0);
for my $dump (@matching) {
=over
-=item C<$timestamp>
+=item C<timestamp>
-=item C<$hostname>
+=item C<hostname>
-=item C<$diskname>
+=item C<diskname>
-=item C<$level>
+=item C<level>
-=item C<$label>
+=item C<label>
-=item C<$filenum>
+=item C<filenum>
-=item C<$status>
+=item C<status>
-=item C<$partnum>
+=item C<partnum>
+
+=item C<sec>
+
+=item C<kb>
=back
+Note that the format for these variables are based on that found in the
+logfiles. In particular, C<partnum> is a string, usually with a slash (C</>)
+in it. Also, C<timestamp> is the timestamp for the run in which the client
+dump took place, and not for the timestamp of the logfile.
+
=head1 HIGHER-LEVEL FUNCTIONS
Functions in this section extract information from logfiles.
=item C<find_log()>
Return a list of logfiles for active tapes. The tapelist must be loaded before
-this function is called (see L<Amanda::Tapefile>, and note that this module will be
-renamed to L<Amanda::Tapelist> in Amanda-2.6.1).
+this function is called (see L<Amanda::Tapelist>).
=item C<search_logfile($label, $datestamp, $logfile, $add_missing_disks)>