starts the reclist from beginning, but does not touch the mutex
l->sorted_ptr = l->sorted_list;
}
l->sorted_ptr = l->sorted_list;
}
+void reclist_rewind(struct reclist *l)
+{
+ if (l)
+ l->sorted_ptr = l->sorted_list;
+}
+
struct reclist *reclist_create(NMEM nmem)
{
struct reclist *reclist_create(NMEM nmem)
{
struct record_cluster *reclist_read_record(struct reclist *l);
void reclist_enter(struct reclist *l);
void reclist_leave(struct reclist *l);
struct record_cluster *reclist_read_record(struct reclist *l);
void reclist_enter(struct reclist *l);
void reclist_leave(struct reclist *l);
+void reclist_rewind(struct reclist *l);
struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms,
struct conf_service *service);
struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms,
struct conf_service *service);