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
Added a sleep command ..
[yaz-moved-to-github.git]
/
include
/
yaz
/
nmem.h
diff --git
a/include/yaz/nmem.h
b/include/yaz/nmem.h
index
2a11b2b
..
293840c
100644
(file)
--- a/
include/yaz/nmem.h
+++ b/
include/yaz/nmem.h
@@
-23,7
+23,7
@@
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: nmem.h,v 1.10 2003-01-06 08:20:27 adam Exp $
+ * $Id: nmem.h,v 1.12 2004-01-15 10:16:26 adam Exp $
*/
#ifndef NMEM_H
*/
#ifndef NMEM_H
@@
-64,6
+64,7
@@
typedef struct nmem_control *NMEM;
YAZ_EXPORT void nmem_reset(NMEM n);
YAZ_EXPORT int nmem_total(NMEM n);
YAZ_EXPORT char *nmem_strdup (NMEM mem, const char *src);
YAZ_EXPORT void nmem_reset(NMEM n);
YAZ_EXPORT int nmem_total(NMEM n);
YAZ_EXPORT char *nmem_strdup (NMEM mem, const char *src);
+YAZ_EXPORT char *nmem_strdupn (NMEM mem, const char *src, size_t n);
YAZ_EXPORT int *nmem_intdup (NMEM mem, int v);
YAZ_EXPORT void nmem_transfer (NMEM dst, NMEM src);
YAZ_EXPORT int *nmem_intdup (NMEM mem, int v);
YAZ_EXPORT void nmem_transfer (NMEM dst, NMEM src);
@@
-80,6
+81,7
@@
YAZ_EXPORT void *nmem_malloc_f(const char *file, int line, NMEM n, int size);
#define nmem_malloc(x, y) nmem_malloc_f(__FILE__, __LINE__, (x), (y))
YAZ_EXPORT void nmem_print_list (void);
#define nmem_malloc(x, y) nmem_malloc_f(__FILE__, __LINE__, (x), (y))
YAZ_EXPORT void nmem_print_list (void);
+YAZ_EXPORT void nmem_print_list_l (int level);
#else
#else