X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-server-sr.cpp;h=ed8c6c2e59f133ec4ade8c95f58731aaa0b45c2b;hb=0499c317de03b020469f3122c8a1cee8bc459389;hp=401b8e3e0d19baacf8b4f2d45d1cd16794ff89fd;hpb=7411ed6df7fc0b535f83503f73d70e80f390e295;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-server-sr.cpp b/src/yaz-z-server-sr.cpp index 401b8e3..ed8c6c2 100644 --- a/src/yaz-z-server-sr.cpp +++ b/src/yaz-z-server-sr.cpp @@ -1,13 +1,10 @@ -/* - * Copyright (c) 2000-2004, Index Data. +/* This file is part of the yazpp toolkit. + * Copyright (C) 1998-2009 Index Data and Mike Taylor * See the file LICENSE for details. - * - * $Id: yaz-z-server-sr.cpp,v 1.11 2005-06-25 15:53:19 adam Exp $ - * */ #include -#include +#include using namespace yazpp_1; @@ -16,7 +13,7 @@ Z_Records *Yaz_Facility_Retrieval::pack_records (Z_Server *s, int start, int xnum, Z_RecordComposition *comp, int *next, int *pres, - int *format) + Odr_oid *format) { int recno, total_length = 0, toget = xnum, dumped_records = 0; Z_Records *records = @@ -241,6 +238,7 @@ int Yaz_Facility_Retrieval::recv(Z_Server *s, Z_APDU *apdu_request) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab