X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Freclists.h;h=818aea54ab56e0b8f9e1d5dd747903eb52ae1298;hb=05043348d67c1af41483e140829811ed9f6aeb5c;hp=bc02f107e26939aae795e1e924e8c578caf5842c;hpb=f6f232081df89d867621187764818ea777178e82;p=pazpar2-moved-to-github.git diff --git a/src/reclists.h b/src/reclists.h index bc02f10..818aea5 100644 --- a/src/reclists.h +++ b/src/reclists.h @@ -1,5 +1,5 @@ /* 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 @@ -31,6 +31,7 @@ struct reclist_sortparms int offset; enum conf_sortkey_type type; int increasing; + char *name; 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_sortparms_cmp(struct reclist_sortparms *sort1, struct reclist_sortparms *sort2); #endif