X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Freclists.h;h=40bcdf9cf6113092be9ab4a0bc64d5e0de469b96;hb=ca42e8d5e3eb51675d75a58d622b9ca4231fd526;hp=b1dcae6a119fee56b28c4fcb6fe044c837a78bca;hpb=5ac0f94cc7fc45e3ae81e8575facb88aa1740a98;p=pazpar2-moved-to-github.git diff --git a/src/reclists.h b/src/reclists.h index b1dcae6..40bcdf9 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,15 +31,16 @@ struct reclist_sortparms 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 record_cluster *reclist_insert( struct reclist *tl, - struct conf_service *service, - struct record *record, - char *merge_key, int *total); +struct record_cluster *reclist_insert(struct reclist *tl, + struct conf_service *service, + struct record *record, + const char *merge_key, int *total); void reclist_sort(struct reclist *l, struct reclist_sortparms *parms); struct record_cluster *reclist_read_record(struct reclist *l); void reclist_enter(struct reclist *l);