X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fcharmap.h;h=da1e6ef893bacc4d465f6e40c77c31fe4bcd2dbc;hp=518d30fcbeb266516846c7f8978ce70aa0be621d;hb=24357780de7d01b3c3ec2c3f6715b2feee7d0e76;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e diff --git a/include/charmap.h b/include/charmap.h index 518d30f..da1e6ef 100644 --- a/include/charmap.h +++ b/include/charmap.h @@ -1,8 +1,5 @@ -/* $Id: charmap.h,v 1.15 2006-05-10 08:13:18 adam Exp $ - Copyright (C) 1995-2005 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra 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 @@ -15,9 +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 Zebra; see the file LICENSE.zebra. 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 + */ #ifndef CHARMAP_H @@ -32,6 +29,9 @@ YAZ_EXPORT extern const char *CHR_SPACE; YAZ_EXPORT extern const char *CHR_CUT; YAZ_EXPORT extern const char *CHR_BASE; +/* defines first char we map to (0, 1, .. are specials) */ +#define CHR_BASE_CHAR 5 + struct chr_t_entry; typedef struct chr_t_entry chr_t_entry; @@ -55,6 +55,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab