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.
dsproc_multi_arrayProcess a Karma data structure.

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 (CONST 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


EXPERIMENTAL FUNCTION: subject to change without notice

void dsproc_multi_array (CONST multi_array *multi_desc, char *array_names[], unsigned int num_arrays, flag save_unproc_data, flag (*pre_process) (), flag (*process_array) (), flag (*post_process) () )

Process a Karma data structure.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


Prototype Functions


flag dsproc_PROTO_pre_process (CONST 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 (CONST packet_desc *inp_desc, CONST 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 (CONST 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


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services