Previous: Introduction, Up: Introduction


2.1 Coding details

The package is C-callable. Due to its implementation its full capabilities are not accessible directly from Fortran, although glue routines are simple to construct. ANSI-C prototypes and all necessary enums and defines are available by including the file bpipe.h. It requires the rbtree and linklist packages.

Definition of field names (so that different programs know what's coming down the pike) must be enforced externally by some mechanism.

Those routines for which it is appropriate signal failure or an error condition by returning a special value and setting the global variable bpipe_errno to a value representing the error. The values are documented in the functions section (see Functions). Applications using the bpipe library must check for error returns!