and use it so that no one looks at internal fields
list_ctx = ns->list_ctx;
ar = ns->ar;
- curr = _tmpl_cursor_eval(&list_head->order.head, curr, &cc);
+ curr = _tmpl_cursor_eval(fr_pair_list_dlist_head(list_head), curr, &cc);
if (!curr) {
/*
* References extend beyond current
return fr_pair_order_list_num_elements(&list->order);
}
+/** Get the dlist head from a pair list
+ *
+ * @param[in] list to get the head from
+ *
+ * @return number of entries in the list
+ */
+fr_dlist_head_t *fr_pair_list_dlist_head(fr_pair_list_t const *list)
+{
+ return fr_pair_order_list_list_head(&list->order);
+}
+
/** Parse a list of VPs from a value box.
*
* @param[in] ctx to allocate new VPs in
size_t fr_pair_list_len(fr_pair_list_t const *list) CC_HINT(nonnull);
+fr_dlist_head_t *fr_pair_list_dlist_head(fr_pair_list_t const *list) CC_HINT(nonnull);
+
/* Searching and list modification */
int fr_pair_to_unknown(fr_pair_t *vp) CC_HINT(nonnull);