X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsession.h;h=a607c7732dcce338b3094c8ab35f9003bbd81b68;hb=817e3ec506c4095bc4fcc1923cee36153ef4ee43;hp=732efbcf4b4dfdbc566e1ca723f05129563bbe58;hpb=c4cfa1ee86d30d432d711d1f498fa3d6f1a2360d;p=pazpar2-moved-to-github.git diff --git a/src/session.h b/src/session.h index 732efbc..a607c77 100644 --- a/src/session.h +++ b/src/session.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2013 Index Data + Copyright (C) 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 @@ -26,9 +26,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include "facet_limit.h" -#include "termlists.h" +#include "relevance.h" #include "reclists.h" -#include "http.h" struct record; struct client; @@ -54,15 +53,6 @@ enum pazpar2_error_code { PAZPAR2_LAST_ERROR }; -// Represents a database -struct database { - char *id; - int num_settings; - struct setting **settings; - struct database *next; -}; - - // Represents a database as viewed from one session, possibly with settings overriden // for that session struct session_database @@ -170,6 +160,7 @@ enum pazpar2_error_code session_search(struct session *s, const char *query, const char *maxrecs, const char *filter, const char *limit, const char **addinfo, + const char **addinfo2, struct reclist_sortparms *sort_parm, const char *mergekey, const char *rank);