Version 5.14.8
[yaz-moved-to-github.git] / include / yaz / zoom.h
index e4113b5..69e7e5a 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data.
+ * Copyright (C) Index Data.
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -143,6 +143,7 @@ ZOOM_diag_str (int error);
 #define ZOOM_ERROR_ES_INVALID_ACTION 10015
 #define ZOOM_ERROR_ES_INVALID_VERSION 10016
 #define ZOOM_ERROR_ES_INVALID_SYNTAX 10017
+#define ZOOM_ERROR_MEMCACHED 10018
 
 ZOOM_API(int)
 ZOOM_connection_last_event(ZOOM_connection cs);
@@ -228,9 +229,11 @@ ZOOM_resultset_facets(ZOOM_resultset r);
 
 /* retrieve (array of pointers to) facet fields */
 ZOOM_API(const char **)
-ZOOM_resultset_facets_names(ZOOM_resultset r);
-
-
+ZOOM_resultset_facets_names(ZOOM_resultset r)
+#ifdef __GNUC__
+    __attribute__ ((deprecated))
+#endif
+    ;
 
 /* ----------------------------------------------------------- */
 /* records */