X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fclient.c;h=be1bae91adf60f3593c5ee8f6e2da817091ce73b;hb=8e26c620fe9f4cd52e0dc3bec5964c89e9a1b2b6;hp=e70a08e6445b15a63db726d059f013416c7fd4bd;hpb=70b88d6e85b42debc319af76d89979a0f058e429;p=pazpar2-moved-to-github.git diff --git a/src/client.c b/src/client.c index e70a08e..be1bae9 100644 --- a/src/client.c +++ b/src/client.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2009 Index Data + Copyright (C) 2006-2010 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 @@ -72,7 +72,7 @@ struct client { struct session *session; char *pquery; // Current search char *cqlquery; // used for SRU targets only - int hits; + Odr_int hits; int record_offset; int maxrecs; int startrecs; @@ -785,7 +785,7 @@ struct client *client_next_in_session(struct client *cl) } -int client_get_hits(struct client *cl) +Odr_int client_get_hits(struct client *cl) { return cl->hits; }