Do not build for Ubuntu raring, quantal (obsolete)
[idzebra-moved-to-github.git] / include / zebramap.h
index 48ae0a7..4bbcbb7 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: zebramap.h,v 1.27 2007-11-06 10:29:58 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) 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
@@ -38,6 +35,9 @@ YAZ_EXPORT
 ZEBRA_RES zebra_maps_read_file(zebra_maps_t zms, const char *fname);
 
 YAZ_EXPORT
+void zebra_maps_define_default_sort(zebra_maps_t zms);
+
+YAZ_EXPORT
 void zebra_maps_close(zebra_maps_t zm);
 
 YAZ_EXPORT
@@ -94,10 +94,14 @@ zebra_map_t zebra_map_get(zebra_maps_t zms, const char *id);
 YAZ_EXPORT
 zebra_map_t zebra_map_get_or_add(zebra_maps_t zms, const char *id);
 
+YAZ_EXPORT
+int zebra_map_tokenize_start(zebra_map_t zm,
+                             const char *buf, size_t len);
 
-int zebra_map_tokenize(zebra_map_t zm,
-                       const char *buf, size_t len,
-                       const char **result_buf, size_t *result_len);
+YAZ_EXPORT
+int zebra_map_tokenize_next(zebra_map_t zm,
+                            const char **result_buf, size_t *result_len,
+                            const char **display_buf, size_t *display_len);
 
 YAZ_END_CDECL
 
@@ -105,6 +109,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