projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- remove debug statement
[m6w6/ext-http]
/
phpstr
/
phpstr.h
diff --git
a/phpstr/phpstr.h
b/phpstr/phpstr.h
index 04a74ed05718a7cd1076df8fa0fb03a5b1a90357..5b56e1124a77853fde611411acc1c2efd825b086 100644
(file)
--- a/
phpstr/phpstr.h
+++ b/
phpstr/phpstr.h
@@
-149,6
+149,12
@@
PHPSTR_API phpstr *phpstr_merge_va(phpstr *buf, unsigned argc, va_list argv);
/* sets a trailing NUL byte */
PHPSTR_API void phpstr_fix(phpstr *buf);
/* sets a trailing NUL byte */
PHPSTR_API void phpstr_fix(phpstr *buf);
+/* memcmp for phpstr objects */
+PHPSTR_API int phpstr_cmp(phpstr *left, phpstr *right);
+
+/* reset phpstr object */
+PHPSTR_API void phpstr_reset(phpstr *buf);
+
/* free a phpstr objects contents */
PHPSTR_API void phpstr_dtor(phpstr *buf);
/* free a phpstr objects contents */
PHPSTR_API void phpstr_dtor(phpstr *buf);