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
Remove packing in Z_SRW_record (not in use)
[yaz-moved-to-github.git]
/
include
/
yaz
/
matchstr.h
diff --git
a/include/yaz/matchstr.h
b/include/yaz/matchstr.h
index
600cdaf
..
bdc5386
100644
(file)
--- a/
include/yaz/matchstr.h
+++ b/
include/yaz/matchstr.h
@@
-87,6
+87,14
@@
YAZ_EXPORT int yaz_strncasecmp(const char *s1, const char *s2, size_t n);
*/
YAZ_EXPORT int yaz_strcasecmp(const char *s1, const char *s2);
*/
YAZ_EXPORT int yaz_strcasecmp(const char *s1, const char *s2);
+/** \brief strcmp, null may be passed
+ \param s1 first buffer or NULL
+ \param s2 second buffer or NULL
+ \retval 0 buffers are equal
+ \retval >0 a > b
+ \retval <0 a < b
+*/
+YAZ_EXPORT int yaz_strcmp_null(const char *s1, const char *s2);
YAZ_END_CDECL
YAZ_END_CDECL