rasqal_query_get_result_bindings

Name

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

Synopsis

int rasqal_query_get_result_bindings (rasqal_query * query, const char *** names, rasqal_literal *** values);

Arguments

query

rasqal_query query

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