projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Header files moved to include (used to be z39.50).
[yaz-moved-to-github.git]
/
odr
/
odr_mem.c
diff --git
a/odr/odr_mem.c
b/odr/odr_mem.c
index
f87e5ca
..
1572152
100644
(file)
--- a/
odr/odr_mem.c
+++ b/
odr/odr_mem.c
@@
-1,10
+1,16
@@
/*
/*
- * Copyright (c) 1995, Index Data
+ * Copyright (c) 1995-1998, Index Data
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: odr_mem.c,v $
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: odr_mem.c,v $
- * Revision 1.13 1998-02-11 11:53:34 adam
+ * Revision 1.15 1999-03-31 11:18:25 adam
+ * Implemented odr_strdup. Added Reference ID to backend server API.
+ *
+ * Revision 1.14 1998/07/20 12:38:15 adam
+ * More LOG_DEBUG-diagnostics.
+ *
+ * Revision 1.13 1998/02/11 11:53:34 adam
* Changed code so that it compiles as C++.
*
* Revision 1.12 1995/11/08 17:41:33 quinn
* Changed code so that it compiles as C++.
*
* Revision 1.12 1995/11/08 17:41:33 quinn
@@
-71,6
+77,11
@@
void *odr_malloc(ODR o, int size)
return nmem_malloc(o ? o->mem : 0, size);
}
return nmem_malloc(o ? o->mem : 0, size);
}
+char *odr_strdup(ODR o, const char *str)
+{
+ return nmem_strdup(o->mem, str);
+}
+
int odr_total(ODR o)
{
return o->mem ? nmem_total(o->mem) : 0;
int odr_total(ODR o)
{
return o->mem ? nmem_total(o->mem) : 0;