X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FAmanda%2FTypes.swg;h=c8a675383a76a4ee5da48cc00e073f8cbc87aea7;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=ff235016ac4699231afbc37d451dc987c6856f6d;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/perl/Amanda/Types.swg b/perl/Amanda/Types.swg index ff23501..c8a6753 100644 --- a/perl/Amanda/Types.swg +++ b/perl/Amanda/Types.swg @@ -14,8 +14,8 @@ * along with this library; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120 - * Sunnyvale, CA 94085, USA, or: http://www.zmanda.com + * Contact information: Zmanda Inc., 465 S Mathlida Ave, Suite 300 + * Sunnyvale, CA 94086, USA, or: http://www.zmanda.com */ %module "Amanda::Types" @@ -43,50 +43,92 @@ New structures may be added, but existing types are stable. =head1 dumpfile_t An in-memory representation of an Amanda header, with keys + =over + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C -- hostname or label; + =item C; + =item C; -=item C; + +=item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + +=itme C; + =item C; + =item C; + =item C (-1 == UNKNOWN); and -=item blocksize. + +=item C. + =back where C is one of the following constants, which are availble for import in the tag C<:filetype_t>: + =over + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; + =item C; or + =item C. + =back NOTE: no methods are currently defined on C; interfaces -can be written as needed. +can be written as needed. A new dumpfile is created with + + my $hdr = Amanda::Types::dumpfile_t->new(); =cut %} @@ -120,7 +162,7 @@ typedef struct { string_t name; /* hostname or label */ string_t disk; string_t program; - string_t dumper; + string_t application; string_t srvcompprog; string_t clntcompprog; string_t srv_encrypt; @@ -132,6 +174,7 @@ typedef struct { string_t srv_decrypt_opt; string_t clnt_decrypt_opt; string_t cont_filename; + char *dle_str; int is_partial; int partnum; int totalparts; /* -1 == UNKNOWN */