projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add mutex for service (ref counting)
[pazpar2-moved-to-github.git]
/
src
/
pazpar2_config.h
diff --git
a/src/pazpar2_config.h
b/src/pazpar2_config.h
index
9b57167
..
41d9431
100644
(file)
--- a/
src/pazpar2_config.h
+++ b/
src/pazpar2_config.h
@@
-23,6
+23,7
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "normalize_cache.h"
#include <yaz/nmem.h>
#include "normalize_cache.h"
#include <yaz/nmem.h>
+#include <yaz/mutex.h>
#include "charsets.h"
enum conf_metadata_type {
#include "charsets.h"
enum conf_metadata_type {
@@
-97,6
+98,7
@@
struct conf_server;
// however, only a single service is possible.
struct conf_service
{
// however, only a single service is possible.
struct conf_service
{
+ YAZ_MUTEX mutex;
int num_metadata;
struct conf_metadata *metadata;
int num_sortkeys;
int num_metadata;
struct conf_metadata *metadata;
int num_sortkeys;