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
Declare wrbuf_free again
[yaz-moved-to-github.git]
/
include
/
yaz
/
wrbuf.h
diff --git
a/include/yaz/wrbuf.h
b/include/yaz/wrbuf.h
index
56a4023
..
04774fd
100644
(file)
--- a/
include/yaz/wrbuf.h
+++ b/
include/yaz/wrbuf.h
@@
-50,6
+50,9
@@
typedef struct wrbuf
/** \brief allocate / construct WRBUF */
YAZ_EXPORT WRBUF wrbuf_alloc(void);
/** \brief allocate / construct WRBUF */
YAZ_EXPORT WRBUF wrbuf_alloc(void);
+/** \brief free WRBUF and possibly its buffer */
+YAZ_EXPORT void wrbuf_free(WRBUF b, int free_buf);
+
/** \brief destroy WRBUF and its buffer */
YAZ_EXPORT void wrbuf_destroy(WRBUF b);
/** \brief destroy WRBUF and its buffer */
YAZ_EXPORT void wrbuf_destroy(WRBUF b);