uriComposeQueryA

Function uriComposeQueryA 

Source
pub unsafe extern "C" fn uriComposeQueryA(
    dest: *mut c_char,
    queryList: *const UriQueryListA,
    maxChars: c_int,
    charsWritten: *mut c_int,
) -> c_int
Expand description

Converts a query list structure back to a query string. The composed string does not start with ‘?’, on the way ’ ’ is converted to ‘+’ and line breaks are normalized to “%0D%0A”.

@param dest OUT: Output destination @param queryList IN: Query list to convert @param maxChars IN: Maximum number of characters to copy including terminator @param charsWritten OUT: Number of characters written, can be lower than maxChars even if the query list is too long! @return Error code or 0 on success

@see uriComposeQueryExA @see uriComposeQueryMallocA @see uriComposeQueryMallocExA @see uriComposeQueryMallocExMmA @see uriComposeQueryCharsRequiredA @see uriDissectQueryMallocA @see uriDissectQueryMallocExA @see uriDissectQueryMallocExMmA @since 0.7.0