X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.h;h=32243deb38e28333a0befd2c2c7bcfe5533b7cb3;hb=e9e5603afa14e52f004d64211345f1c3ab17a6a3;hp=85f1b8faab8e41e99c7af9d53193fd2f27c133dd;hpb=98124d717cec040bd63d002a95fded3ab82064fc;p=pazpar2-moved-to-github.git diff --git a/src/session.h b/src/session.h index 85f1b8f..32243de 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,6 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include "facet_limit.h" +#include "relevance.h" #include "reclists.h" struct record; @@ -185,6 +186,8 @@ void session_apply_setting(struct session *se, char *dbname, char *setting, char const char *session_setting_oneval(struct session_database *db, int offset); int ingest_record(struct client *cl, const char *rec, int record_no, NMEM nmem); +int ingest_xml_record(struct client *cl, xmlDoc *xdoc, + int record_no, NMEM nmem, int cached_copy); void session_alert_watch(struct session *s, int what); void add_facet(struct session *s, const char *type, const char *value, int count);