X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.h;h=d58019f2d911aa24d0682312be1ba73fbfa1ad56;hb=9db0457fa07df43928fc8fbade13593eb6c9b534;hp=732efbcf4b4dfdbc566e1ca723f05129563bbe58;hpb=c4cfa1ee86d30d432d711d1f498fa3d6f1a2360d;p=pazpar2-moved-to-github.git diff --git a/src/session.h b/src/session.h index 732efbc..d58019f 100644 --- a/src/session.h +++ b/src/session.h @@ -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);