Next: , Previous: dpktf_output_destroy, Up: Internal Functions


A.5.37 fill_core_to_output_map

Given a data packet field, determine the copy operations necessary to map from core to output state.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
static int fill_core_to_output_map( void *data, void *udata );

Parameters

void *data
Not Documented.
void *udata
Not Documented.

Description

This routine is an action routine passed to the linked list package. It takes a passed data packet field and generates a list of copy operations which map the data packet field from its core state to its output state. It uses and updates a passed offset from the start of the output image.

Returns

It returns zero upon success, non-zero upon failure.

Errors

Upon error bpipe_errno is set to one of the following:

BPEBADARG
the data packet's input matrix was bogus
BPENOMEM
a memory allocation failed