This set of operations is used to list the set of names and bindings in the context named by name, relative to the context ctx. The name must name a context. If the intent is to list the contents of ctx, name should be an empty composite name.
FN_bindinglist_t* fn_ctx_list_bindings(
FN_ctx_t *ctx,
const FN_composite_name_t *name,
FN_status_t *status);FN_string_t *fn_bindinglist_next(
FN_bindinglist_t *bl,
FN_ref_t ** ref,
FN_status_t *status);
void fn_bindinglist_destroy(
FN_bindinglist_t *bl);
|
The semantics of these operations are similar to those for listing names. In addition to a name string being returned, fn_bindinglist_next() also returns the reference of the binding for each member of the enumeration.