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
ZOOM: For redirect, reconnect always YAZ-722
[yaz-moved-to-github.git]
/
include
/
yaz
/
matchstr.h
diff --git
a/include/yaz/matchstr.h
b/include/yaz/matchstr.h
index
600cdaf
..
94bcead
100644
(file)
--- a/
include/yaz/matchstr.h
+++ b/
include/yaz/matchstr.h
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data.
+ * Copyright (C) Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@
-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