X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Fmod_sample.cpp;h=eebdf329a1ca8e0f1759a2cdf2613c324c7ba099;hp=e5f2bd6e409c6102d3efabaefd763f51b32f3fc6;hb=dfdff5f2d2825a500d3d27200d2ec32ee063a975;hpb=d7f41f16caf965adb1a5ffcdaa937787dfcc030a diff --git a/src/mod_sample.cpp b/src/mod_sample.cpp index e5f2bd6..eebdf32 100644 --- a/src/mod_sample.cpp +++ b/src/mod_sample.cpp @@ -1,7 +1,5 @@ -/* $Id: mod_sample.cpp,v 1.5 2005-06-25 15:58:33 adam Exp $ - Copyright (c) 1998-2005, Index Data. - -This file is part of the yaz-proxy. +/* This file is part of YAZ proxy + Copyright (C) 1998-2009 Index Data YAZ proxy 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 @@ -14,10 +12,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with YAZ proxy; see the file LICENSE. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. - */ +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #include #include @@ -25,7 +22,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include -#if HAVE_XSLT +#if YAZ_HAVE_XSLT #include #include #include @@ -51,7 +48,7 @@ int my_authenticate(void *user_handle, { // see if we have an "args" attribute const char *args = 0; -#if HAVE_XSLT +#if YAZ_HAVE_XSLT xmlNodePtr ptr = (xmlNodePtr) element_ptr; struct _xmlAttr *attr; @@ -95,6 +92,7 @@ Yaz_ProxyModule_entry yazproxy_module = { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab