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
Use YAZ' new icu_iter_get_org_info for snippets
[pazpar2-moved-to-github.git]
/
src
/
reclists.h
diff --git
a/src/reclists.h
b/src/reclists.h
index
6f13e50
..
ea87d80
100644
(file)
--- a/
src/reclists.h
+++ b/
src/reclists.h
@@
-1,5
+1,5
@@
/* This file is part of Pazpar2.
/* This file is part of Pazpar2.
- Copyright (C) 2006-2011 Index Data
+ Copyright (C) 2006-2013 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-31,11
+31,13
@@
struct reclist_sortparms
int offset;
enum conf_sortkey_type type;
int increasing;
int offset;
enum conf_sortkey_type type;
int increasing;
+ char *name;
struct reclist_sortparms *next;
};
struct reclist *reclist_create(NMEM);
void reclist_destroy(struct reclist *l);
struct reclist_sortparms *next;
};
struct reclist *reclist_create(NMEM);
void reclist_destroy(struct reclist *l);
+void reclist_limit(struct reclist *l, struct session *session);
struct record_cluster *reclist_insert(struct reclist *tl,
struct conf_service *service,
struct record *record,
struct record_cluster *reclist_insert(struct reclist *tl,
struct conf_service *service,
struct record *record,
@@
-49,6
+51,7
@@
struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms,
int reclist_get_num_records(struct reclist *l);
struct record_cluster *reclist_get_cluster(struct reclist *l, int i);
int reclist_get_num_records(struct reclist *l);
struct record_cluster *reclist_get_cluster(struct reclist *l, int i);
+int reclist_sortparms_cmp(struct reclist_sortparms *sort1, struct reclist_sortparms *sort2);
#endif
#endif