X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-server-update.cpp;h=a6f2d1a6c67b6b042e0965966b5789ec6c956dba;hb=6fbe632bc43d693756170e5b799c942d6abbf883;hp=2d5dc1e700711028c4119afc7f7f77154172162d;hpb=7411ed6df7fc0b535f83503f73d70e80f390e295;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-server-update.cpp b/src/yaz-z-server-update.cpp index 2d5dc1e..a6f2d1a 100644 --- a/src/yaz-z-server-update.cpp +++ b/src/yaz-z-server-update.cpp @@ -1,12 +1,13 @@ -/* - * Copyright (c) 2000-2004, Index Data. +/* This file is part of the yazpp toolkit. + * Copyright (C) 1998-2013 Index Data and Mike Taylor * See the file LICENSE for details. - * - * $Id: yaz-z-server-update.cpp,v 1.11 2005-06-25 15:53:19 adam Exp $ */ +#if HAVE_CONFIG_H +#include +#endif #include -#include +#include using namespace yazpp_1; @@ -15,14 +16,14 @@ int Yaz_Facility_Update::init(Z_Server *s, Z_InitRequest *initRequest, { Z_Options *req = initRequest->options; Z_Options *res = initResponse->options; - + if (ODR_MASK_GET(req, Z_Options_extendedServices)) ODR_MASK_SET(res, Z_Options_extendedServices); return 1; } int Yaz_Facility_Update::recv(Z_Server *s, Z_APDU *apdu_request) -{ +{ Z_APDU *apdu_response; if (apdu_request->which != Z_APDU_extendedServicesRequest) @@ -53,6 +54,7 @@ int Yaz_Facility_Update::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