Remove local attribute handling and other dead code.
[idzebra-moved-to-github.git] / include / idzebra / data1.h
index eda8ea4..58ac8ca 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: data1.h,v 1.12 2006-05-10 08:13:20 adam Exp $
-   Copyright (C) 1995-2005
+/* $Id: data1.h,v 1.14 2006-05-19 23:45:29 adam Exp $
+   Copyright (C) 1995-2006
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -52,12 +52,6 @@ YAZ_BEGIN_CDECL
 
 struct data1_attset;
 
-typedef struct data1_local_attribute
-{
-    int local;
-    struct data1_local_attribute *next;
-} data1_local_attribute;
-
 typedef struct data1_attset data1_attset;    
 typedef struct data1_att data1_att;
 typedef struct data1_attset_child data1_attset_child;
@@ -67,7 +61,6 @@ struct data1_att
     data1_attset *parent;          /* attribute set */
     char *name;                    /* symbolic name of this attribute */
     int value;                     /* attribute value */
-    data1_local_attribute *locals; /* local index values */
     data1_att *next;
 };
 
@@ -88,7 +81,7 @@ struct data1_attset
 typedef struct data1_handle_info *data1_handle;
 
 YAZ_EXPORT data1_att *data1_getattbyname(data1_handle dh, data1_attset *s,
-                                        char *name);
+                                        const char *name);
 YAZ_EXPORT data1_attset *data1_read_attset(data1_handle dh, const char *file);
 
 YAZ_EXPORT data1_attset *data1_empty_attset(data1_handle dh);
@@ -245,11 +238,7 @@ struct data1_tagset
 
 typedef struct data1_termlist
 {
-#if NATTR
     char *index_name;
-#else
-    data1_att *att;
-#endif
     char *structure;
     char *source;
     struct data1_termlist *next;