X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Fdata1.h;h=31198abb2d14a6f0d23578b57a678e07cdcfe2de;hb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;hp=dfd76c5d64c963d5860b5de6dbe7d8d9bd78bcd1;hpb=53f50a1b1dd002ef484a41f50f3598386335cae1;p=idzebra-moved-to-github.git diff --git a/include/idzebra/data1.h b/include/idzebra/data1.h index dfd76c5..31198ab 100644 --- a/include/idzebra/data1.h +++ b/include/idzebra/data1.h @@ -1,8 +1,5 @@ -/* $Id: data1.h,v 1.23 2007-05-08 12:50:04 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2009 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 @@ -100,13 +97,7 @@ typedef struct data1_maptag struct data1_maptag *next; } data1_maptag; -typedef struct data1_mapunit -{ - int no_data; - char *source_element_name; - data1_maptag *target_path; - struct data1_mapunit *next; -} data1_mapunit; +typedef struct data1_mapunit data1_mapunit; typedef struct data1_maptab { @@ -117,6 +108,7 @@ typedef struct data1_maptab struct data1_maptab *next; } data1_maptab; + typedef struct data1_name { char *name; @@ -578,6 +570,7 @@ YAZ_EXPORT const char *data1_systag_lookup(data1_absyn *absyn, const char *tag, const char *default_value); YAZ_EXPORT void data1_concat_text(data1_handle dh, NMEM m, data1_node *n); +YAZ_EXPORT void data1_chop_text(data1_handle dh, NMEM m, data1_node *n); YAZ_EXPORT void data1_absyn_destroy(data1_handle dh);