Next: , Previous: bpipe_output_delete, Up: Internal Functions   [Contents]


A.5.30 create_output_map

Create an output map for an output channel.

Synopsis

#include <bpipe/bpipe.h>

static int create_output_map(
  void *data,
  void *udata
);

Parameters

void *data

Not Documented.

void *udata

Not Documented.

Description

This routine creates a core image to output image map for a particular output channel. It is an action routine called with the output channel as the passed data.

Returns

It returns zero upon success, non-zero upon error. It sets bpipe_errno upon error.

Errors

Upon error bpipe_errno is set to one of the following:

BPEBADPIPE

there were no output maps

BPENOMEM

a memory allocation failed