X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Futil.h;h=36a7bf4d30c2df00898b217138f8d8843a933511;hp=f64c1afa905481d829046074f446883be2ce6b0b;hb=a030c87bc444608639905eca95e29f84a4f1d991;hpb=761702c17906c9c71a0c42e7abaa18e578aec012 diff --git a/include/idzebra/util.h b/include/idzebra/util.h index f64c1af..36a7bf4 100644 --- a/include/idzebra/util.h +++ b/include/idzebra/util.h @@ -1,8 +1,5 @@ -/* $Id: util.h,v 1.12 2006-12-11 09:50:36 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 @@ -99,22 +96,7 @@ 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 @@ -125,6 +107,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