X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=src%2Fyaz-z-server-ill.cpp;h=238e4ad7d799035c36cbfedd3a9329008840f997;hp=a3cca22c97922adbaa2051d4dcdbc67a17394df0;hb=d62e0baee8ee3cccced41746ef09fc3e01f401d5;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef diff --git a/src/yaz-z-server-ill.cpp b/src/yaz-z-server-ill.cpp index a3cca22..238e4ad 100644 --- a/src/yaz-z-server-ill.cpp +++ b/src/yaz-z-server-ill.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2008 Index Data and Mike Taylor + * Copyright (C) Index Data and Mike Taylor * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -13,14 +16,14 @@ int Yaz_Facility_ILL::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_ILL::recv(Z_Server *s, Z_APDU *apdu_request) -{ +{ Z_APDU *apdu_response; if (apdu_request->which != Z_APDU_extendedServicesRequest) @@ -40,6 +43,7 @@ int Yaz_Facility_ILL::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