Loading...
Searching...
No Matches
string0.h
Go to the documentation of this file.
#ifndef STRING0_H
#define STRING0_H
#include <sofia-sip/su_string.h>
su_inline int str0cmp(char const *a, char const *b);
su_inline int str0ncmp(char const *a, char const *b, size_t n);
su_inline int str0casecmp(char const *a, char const *b);
su_inline int str0ncasecmp(char const *a, char const *b, size_t n);
su_inline size_t strnspn(char const *s, size_t ssize, char const *term);
su_inline size_t strncspn(char const *s, size_t ssize, char const *term);
su_inline int str0cmp(char const *a, char const *b)
{
return su_strcmp(a, b);
}
su_inline int str0ncmp(char const *a, char const *b, size_t n)
{
return su_strncmp(a, b, n);
}
su_inline int str0casecmp(char const *a, char const *b)
{
return su_strcasecmp(a, b);
}
su_inline int str0ncasecmp(char const *a, char const *b, size_t n)
{
return su_strncasecmp(a, b, n);
}
su_inline size_t strnspn(char const *s, size_t ssize, char const *term)
{
return su_strnspn(s, ssize, term);
}
su_inline size_t strncspn(char const *s, size_t ssize, char const *term)
{
return su_strncspn(s, ssize, term);
}
#endif
su_inline
#define su_inline
Define as suitable declarator static inline functions.
Definition su_configure.h:90
su_string.h
String functions for Sofia-SIP.
su_strncasecmp
int su_strncasecmp(char const *s1, char const *s2, size_t n)
ASCII-case-insensitive comparison.
Definition su_string.c:142
su_strncspn
size_t su_strncspn(char const *s, size_t ssize, char const *reject)
Search a string for a set of characters.
Definition su_string.c:391
su_strcasecmp
int su_strcasecmp(char const *s1, char const *s2)
ASCII-case-insensitive comparison.
Definition su_string.c:101
su_strnspn
size_t su_strnspn(char const *s, size_t size, char const *term)
Search a string for a set of characters.
Definition su_string.c:333

Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.