X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fxmltypes.h;h=91774864fb2f1bf398cbad9fb6ea6ca88c1e6ba6;hp=0def187ed258662cb3b18c9e69e221ec81c34173;hb=3d95738e1464a966faae513cbaff87e9f9ff2b47;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431 diff --git a/include/yaz/xmltypes.h b/include/yaz/xmltypes.h index 0def187..9177486 100644 --- a/include/yaz/xmltypes.h +++ b/include/yaz/xmltypes.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data. + * Copyright (C) 1995-2013 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -27,8 +27,7 @@ /** * \file xmltypes.h - * \brief Define fundamental Libxml2 types for functions YAZ provide. - * \details If Libxml2 is not installed, we define dummy types instead. + * \brief Define xmlNode and xmlDocPtr if Libxml2 is present */ #ifndef YAZ_XMLTYPES_H #define YAZ_XMLTYPES_H @@ -37,20 +36,11 @@ #include #endif -YAZ_BEGIN_CDECL - -#if YAZ_HAVE_XML2 -#else -typedef void xmlNode; -typedef void *xmlDocPtr; -#endif - -YAZ_END_CDECL - #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab