X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzeerex.h;h=0f427aa7a16dcc645baff895286d62964f28f4c7;hb=8fde5c03bce75ffa06df59eedae1e3c417817af4;hp=bafa0546824948b46f5a1b44eae26aee0b2e2fb8;hpb=1c67f9fb6408afadc117241e01d4963c4ba7e8c1;p=pazpar2-moved-to-github.git diff --git a/src/zeerex.h b/src/zeerex.h index bafa054..0f427aa 100644 --- a/src/zeerex.h +++ b/src/zeerex.h @@ -1,6 +1,27 @@ +/* This file is part of Pazpar2. + Copyright (C) 2006-2010 Index Data + +Pazpar2 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 +Software Foundation; either version 2, or (at your option) any later +version. + +Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +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 this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + #ifndef ZEEREX_H #define ZEEREX_H +// Structures representing a Zeerex record. + typedef enum zr_bool { Zr_bool_unknown, @@ -200,13 +221,16 @@ struct zr_explain struct zr_explain *zr_read_xml(NMEM m, xmlNode *n); struct zr_explain *zr_read_file(NMEM m, const char *fn); +const char *zr_langstr(Zr_langstr *s, const char *lang); + +#endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ -#endif