rasqal_query_results_get_bindings

Name

rasqal_query_results_get_bindings --  Get all binding names, values for current result

Synopsis

int rasqal_query_results_get_bindings (rasqal_query_results * query_results, const unsigned char *** names, rasqal_literal *** values);

Arguments

query_results

rasqal_query_results query_results

names

pointer to an array of binding names (or NULL)

values

pointer to an array of binding value rasqal_literal (or NULL)

Description

If names is not NULL, it is set to the address of a shared array of names of the bindings (an output parameter). These names are shared and must not be freed by the caller

If values is not NULL, it is set to the address of a shared array of rasqal_literal* binding values. These values are shaerd and must not be freed by the caller.

Return value

non-0 if the assignment failed