X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=rset%2Frstemp.c;h=2103959c5355bb2fc2295288c46c6ce6031ed1b5;hb=40ca1d08c1d83b92e0b90951d918b252c61c63b2;hp=39456ef645e3dd36e10b0fd8f887360aa34d6763;hpb=9af45a7f129664e5f802ff1cdfce08fbce8b1adb;p=idzebra-moved-to-github.git diff --git a/rset/rstemp.c b/rset/rstemp.c index 39456ef..2103959 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: rstemp.c,v $ - * Revision 1.12 1995-09-28 09:52:11 adam + * Revision 1.13 1995-10-06 14:38:06 adam + * New result set method: r_score. + * Local no (sysno) and score is transferred to retrieveCtrl. + * + * Revision 1.12 1995/09/28 09:52:11 adam * xfree/xmalloc used everywhere. * * Revision 1.11 1995/09/18 14:17:56 adam @@ -61,6 +65,7 @@ static void r_rewind (RSFD rfd); static int r_count (rset_control *ct); static int r_read (RSFD rfd, void *buf); static int r_write (RSFD rfd, const void *buf); +static int r_score (RSFD rfd, int *score); static const rset_control control = { @@ -73,7 +78,8 @@ static const rset_control control = r_rewind, r_count, r_read, - r_write + r_write, + r_score }; const rset_control *rset_kind_temp = &control; @@ -318,3 +324,8 @@ static int r_write (RSFD rfd, const void *buf) return 1; } +static int r_score (RSFD rfd, int *score) +{ + *score = -1; + return -1; +}