Bundesamt für Sicherheit in der Informationstechnik > Dicop-Server-3.04 > Dicop

Download:
dicop/Dicop-Server-3.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 3.04   Source  

NAME ^

Dicop - a collection of routines used by a Dicop Server and Client

SYNOPSIS ^

        use Dicop;

REQUIRES ^

perl5.008003, Exporter

EXPORTS ^

Exports nothing on default.

Can export on request:

        UNKNOWN DONE ISSUED SOLVED TOBEDONE FAILED SUSPENDED
        TIMEOUT VERIFY BAD WAITING
        MAX_ISSUED_AGE MAX_FAILED_AGE
        status status_code

DESCRIPTION ^

Contains an assortment of often used or handy support routines used by the server/proxy and the client.

METHODS ^

status

Map a given status code to the status code name, e.g.:

        Dicop::status(1);       # return 'issued'

  {
  my $s = shift || 0;
  return $status[$s] || 'UNKNOWN';
  }

status_code

Given a status code name, returns the status code:

        $done = dicop::Status_code('DONE');

base_version

Returns version and build number of Dicop::Base as a string that can be used as a float for comparing.

BUGS ^

None known yet.

AUTHOR ^

(c) Bundesamt fuer Sicherheit in der Informationstechnik 1998-2006

DiCoP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

See the file LICENSE or http://www.bsi.de/ for more information.