X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FAmanda%2FConfig.pm;h=b254c923cbab11e5306b141017dbeee779915f01;hb=fb2bd066c2f8b34addafe48d62550e3033a59431;hp=c428b5a5e2d83c031b0923a25b3043e937fc8818;hpb=a6127998ee6dcab6bb034f6ca985b07804a86f9a;p=debian%2Famanda diff --git a/perl/Amanda/Config.pm b/perl/Amanda/Config.pm index c428b5a..b254c92 100644 --- a/perl/Amanda/Config.pm +++ b/perl/Amanda/Config.pm @@ -292,7 +292,7 @@ Amanda::Config - access to Amanda configuration parameters print "tape device is ", getconf($CNF_TAPEDEV), "\n"; -This API closely parallels the C API. See L for details +This API closely parallels the C API. See F for details on the functions and constants available here. =head1 API STATUS @@ -350,7 +350,7 @@ C, respectively. Most Amanda applications accept the command-line option C<-o> to "overwrite" configuration values in C. In Perl -applications, these options should be parsed with L, with +applications, these options should be parsed with L, with the action being a call to C. For example: my $config_overwrites = new_config_overwrites($#ARGV+1); @@ -402,17 +402,23 @@ Each subsection type has the following functions: =over -=item C, which returns an opaque object +=item C + +which returns an opaque object (C<$ss>) representing the subsection, or C if no subsection with that name exists; -=item C, returning the name of the subsection; +=item C + +returning the name of the subsection; + +=item C -=item C, which fetches a parameter value from -C<$ss>; and +which fetches a parameter value from C<$ss>; and -=item C, which returns a true value if <$cnf> -was seen in the subsection. +=item C + +which returns a true value if <$cnf> was seen in the subsection. =back @@ -420,13 +426,25 @@ The subsections are: =over -=item C, with constants beginning with C<$TAPETYPE_>, +=item C + +with constants beginning with C<$TAPETYPE_> + +=item C + +with constants beginning with C<$DUMPTYPE_> + +=item C + +with constants beginning with C<$HOLDING_> + +=item C -=item C, with constants beginning with C<$DUMPTYPE_>, +with constants beginning with C<$APPLICATION_> -=item C, with constants beginning with C<$INTER_>, and +=item C