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
refactor the search/show to command to use common code path
[pazpar2-moved-to-github.git]
/
src
/
reclists.h
diff --git
a/src/reclists.h
b/src/reclists.h
index
bc02f10
..
818aea5
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-2010 Index Data
+ Copyright (C) 2006-2012 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,6
+31,7
@@
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_sortparms *next;
};
@@
-49,6
+50,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