[][src]Function tdb_core::dtf::ffi::parse_kaiko_csv_to_dtf

#[no_mangle]
pub unsafe extern "C" fn parse_kaiko_csv_to_dtf(
    symbol: *const c_char,
    fname: *const c_char,
    csv_str: *const c_char
) -> *const c_char

This is for converting kaiko csv data into DTF.

Given an output filename and a string containing input CSV to parse, parses the CSV into DTF and writes it to the output file. If the file exists, the data will be appended.

If an error occurs, will return a pointer to a string containing the error message. If the process completes successfully, will return nullptr.