X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fppmutex.h;fp=src%2Fppmutex.h;h=c6b8c9e0e6f10ae02fc153051bd0540c3312bd24;hb=1b423121ae5ccbf05ff800ea229a9941b0a52dee;hp=0000000000000000000000000000000000000000;hpb=5e9a5bd716bcfd342e057fd11e1c0400e2abcfa2;p=pazpar2-moved-to-github.git diff --git a/src/ppmutex.h b/src/ppmutex.h new file mode 100644 index 0000000..c6b8c9e --- /dev/null +++ b/src/ppmutex.h @@ -0,0 +1,45 @@ +/* This file is part of Pazpar2. + Copyright (C) 2006-2010 Index Data + +Pazpar2 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 +Software Foundation; either version 2, or (at your option) any later +version. + +Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + +/** \file + \brief control MUTEX debugging +*/ + +#ifndef PAZPAR2_PPMUTEX_H +#define PAZPAR2_PPMUTEXF_H + +#include + +YAZ_EXPORT +void pazpar2_mutex_enable_debug(int debug); + +YAZ_EXPORT +void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name); + +#endif + +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +