X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Futil.h;h=f53a48a7d8339c5ffee0d729d35cc8ef2982c9e5;hp=831ef3f7aeaa12075ce670feb0074603ba62bdbf;hb=4f71537a478fc551989245f0dde38997714eedc1;hpb=6d4e4ede992b336e000169cc8f792a23875cbe47 diff --git a/include/idzebra/util.h b/include/idzebra/util.h index 831ef3f..f53a48a 100644 --- a/include/idzebra/util.h +++ b/include/idzebra/util.h @@ -1,8 +1,5 @@ -/* $Id: util.h,v 1.13 2006-12-22 13:48:20 adam Exp $ - Copyright (C) 1995-2006 - 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 @@ -26,8 +23,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include -#include - /** expand GCC_ATTRIBUTE if GCC is in use. See : http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html @@ -46,11 +41,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ZEBRA_GCC_ATTR(x) #endif -/* check that we don't have all too old yaz */ -#ifndef YLOG_ERRNO -#error Need a modern yaz with YLOG_ defines -#endif - YAZ_BEGIN_CDECL /** \var zint @@ -99,23 +89,6 @@ YAZ_EXPORT void zebra_zint_decode(const char **src, zint *pos); YAZ_EXPORT void zebra_exit(const char *msg); -typedef struct zebra_timing *zebra_timing_t; - -YAZ_EXPORT -zebra_timing_t zebra_timing_create(void); -YAZ_EXPORT -void zebra_timing_start(zebra_timing_t t); -YAZ_EXPORT -void zebra_timing_stop(zebra_timing_t t); -YAZ_EXPORT -double zebra_timing_get_real(zebra_timing_t t); -YAZ_EXPORT -double zebra_timing_get_user(zebra_timing_t t); -YAZ_EXPORT -double zebra_timing_get_sys(zebra_timing_t t); -YAZ_EXPORT -void zebra_timing_destroy(zebra_timing_t *tp); - YAZ_EXPORT zint atozint(const char *src); YAZ_END_CDECL @@ -127,6 +100,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