PGPlib(3)

NAME
PGPlib - routines to manipulate data, RFC1991 compliant

SYNOPSIS
#include <pgplib.h>

DESCRIPTION
These routines manipulates data, stored in so called packets. The library has only one global variable (see below). Furthermore, in most cases the user is responsible for allocating memory required by the library; for reasons of flexibility. Only in those cases where it is impossible to know how much is needed is memory allocated, by means of malloc(3). .

RETURN VALUES
In general, all routines return 0 (zero) if the operation suceeded, -1 if some error occured. If the requested operation could not be performed, for example because a key could not be found, 1 is returned. When errors occur, the global variable pgplib_errno is set. A string describing the error can be found by indexing into char *pgplib_errlist[] in the usual way (see strerror(3) for details).

AVALIABILITY
The library and included applications are all available under "Berkeley style" copyright terms. Basically, this means that PGPlib is FREE for commercial and non-comercial use, and that you can do almost anything with the code. The only thing you can not do is to say that you wrote it.

PGPlib is available from ftp://dslab1.cs.uit.no/pub/PGPlib.tar.gz.

STANDARDS
Almost all pacjets described in RFC1991 can be read, and almost all can be constructed.

HISTORY
This is release PGPlib-1.1. Previous releases was 0.0, 0.1, 0.2, 0.3, 1.0A, 1.0B and 1.0C.