projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add reclist rewind function
[pazpar2-moved-to-github.git]
/
src
/
reclists.c
diff --git
a/src/reclists.c
b/src/reclists.c
index
817c133
..
103eefd
100644
(file)
--- a/
src/reclists.c
+++ b/
src/reclists.c
@@
-342,6
+342,12
@@
void reclist_leave(struct reclist *l)
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)
{