Utilities for encoding callback functions


Functions

int bufr_open_datasect_w ()
 Opens bitstream for section 4 writing.
void bufr_close_datasect_w (bufr_t *msg)
 Closes bitstream for section 4 and adds data to BUFR message.
bufrval_tbufr_open_val_array ()
 Opens global array of values for read/write.
void bufr_close_val_array ()
 Closes global array of values and frees all memory.

Function Documentation

int bufr_open_datasect_w (  ) 

This function opens the data section bitstream for writing and returns its handle.

Returns:
Returns the handle to the data section bitstream or -1 on error.
See also:
bufr_close_datasect_w, bufr_parse_in

Definition at line 2116 of file bufr.c.

void bufr_close_datasect_w ( bufr_t msg  ) 

This function closes the data section bitstream and appends it to a BUFR message, also stores the length in the BUFR message.

Parameters:
[in,out] msg BUFR message where the data has to be stored
See also:
bufr_open_datasect_w, bufr_parse_in

Definition at line 2194 of file bufr.c.

bufrval_t* bufr_open_val_array (  ) 

This function opens the global array of values for use by bufr_val_from_global and bufr_val_to_global and returns its pointer.

Returns:
Pointer to the array of values or NULL on error.
See also:
bufr_close_val_array, bufr_val_to_global, # bufr_val_from_global
Examples:
apisample.c.

Definition at line 2310 of file bufr.c.

void bufr_close_val_array (  ) 

This function closes the global array of values used by bufr_val_from_global and bufr_val_to_global and frees all allocated memory.

See also:
bufr_open_val_array, bufr_val_to_global, bufr_val_from_global
Examples:
apisample.c.

Definition at line 2337 of file bufr.c.


Generated on Tue Dec 18 16:52:45 2007 for OPERA BUFR software by  doxygen 1.5.4