The "dsproc" Package

These routines are meant to provide high level routines to process named objects (i.e. disc and connection arrayfiles).

Library: karma
Link With: -lkarma

Functions

dsproc_objectProcess a Karma file.

Prototype Functions

DSPROC_PROTO_pre_processPerform pre-processing on a multi_array data structure.
DSPROC_PROTO_process_arrayProcess a general data structure into an output structure.
DSPROC_PROTO_post_processPerform post-processing on a multi_array data structure.


Functions


void dsproc_object (char *object, char *array_names[], unsigned int num_arrays, flag save_unproc_data, flag (*pre_process) (), flag (*process_array) (), flag (*post_process) (), unsigned int mmap_option)

Process a Karma file.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


Prototype Functions


flag DSPROC_PROTO_pre_process (multi_array *multi_desc)

Perform pre-processing on a multi_array data structure.

Parameters:

Returns: TRUE if processing is to continue, else FALSE.
Multithreading Level: Unsafe


flag DSPROC_PROTO_process_array (packet_desc *inp_desc, char *inp_data, packet_desc **out_desc, char **out_data)

Process a general data structure into an output structure.

Parameters:

Returns: TRUE on success, else FALSE.
Multithreading Level: Unsafe


flag DSPROC_PROTO_post_process (multi_array *inp_desc, multi_array *out_desc)

Perform post-processing on a multi_array data structure.

Parameters:

Returns: TRUE if the array is to be saved/transmitted, else FALSE.
Multithreading Level: Unsafe


Contact: Richard Gooch
Web Development: Ariel Internet Services