- else {
- violent_unlock_file ($filename);}}
-
- # Rueckgabe
- \%conf;
-}
-
-# ====================================================
-# Private Funktionen
-# ====================================================
-
-sub get_severance ($) {
- my $severance = shift;
-
- my $after_byte = $severance -> getElementsByTagName ('AfterByte', 0) -> item (0);
- my $after_message = $severance -> getElementsByTagName ('AfterMessage', 0) -> item (0);
- my $after_thread = $severance -> getElementsByTagName ('AfterThread', 0) -> item (0);
- my $last_posting = $severance -> getElementsByTagName ('AfterLastPosting', 0) -> item (0);
-
- my %conf =( exArchiving => $severance -> getAttribute ('executeArchiving'),
- archiving => $severance -> getElementsByTagName ('Archiving', 0) -> item (0)
- -> getElementsByTagName ('*', 0) -> item (0) -> getTagName,
- severance => $severance -> getAttribute ('executeSeverance'),
- afterByte => ($after_byte?$after_byte -> getFirstChild -> getData:undef),
- afterThread => ($after_thread?$after_thread -> getFirstChild -> getData:undef),
- afterMessage => ($after_message?$after_message -> getFirstChild -> getData:undef),
- lastPosting => ($last_posting?$last_posting -> getFirstChild -> getData:undef));
-