projects
/
rrq
/
fuse_xattrs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use larger string heap
[rrq/fuse_xattrs.git]
/
stringmem.h
diff --git
a/stringmem.h
b/stringmem.h
index c25218f1996dff9e5642ed8c012402af92ff4c6d..1a3f695116d8f31d5f5044a0ca914f2647340535 100644
(file)
--- a/
stringmem.h
+++ b/
stringmem.h
@@
-1,6
+1,9
@@
-// Concatenate stri
gn
s onto the heap if possible, or malloc new.
+// Concatenate stri
ng
s onto the heap if possible, or malloc new.
extern char *strjoin(const char *first,...);
extern char *strjoin(const char *first,...);
+// Allocate buffer space from the heap
+extern char *stralloc(int size);
+
// Dispose memory possibly within the string heap
extern void strfree(char *p);
// Dispose memory possibly within the string heap
extern void strfree(char *p);