Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

Defines | Functions

su_string.h File Reference

String functions for Sofia-SIP. More...

#include <sofia-sip/su_config.h>
#include <string.h>
Include dependency graph for su_string.h:

Go to the source code of this file.

Defines

#define SOFIA_SIP_SU_STRING_H

Functions

SOFIAPUBFUN int su_casematch (char const *s1, char const *with)
SOFIAPUBFUN int su_casenmatch (char const *s1, char const *with, size_t n)
SOFIAPUBFUN size_t su_memcspn (const void *mem, size_t memlen, const void *reject, size_t rejectlen)
SOFIAPUBFUN size_t su_memspn (const void *mem, size_t memlen, const void *accept, size_t acceptlen)
SOFIAPUBFUN int su_strcasecmp (char const *s1, char const *s2)
SOFIAPUBFUN char * su_strcasestr (const char *haystack, const char *needle)
SOFIA_BEGIN_DECLS su_inline int su_strcmp (char const *a, char const *b)
SOFIAPUBFUN int su_strmatch (char const *str, char const *with)
SOFIAPUBFUN int su_strncasecmp (char const *s1, char const *s2, size_t n)
su_inline int su_strncmp (char const *a, char const *b, size_t n)
SOFIAPUBFUN size_t su_strncspn (char const *s, size_t ssize, char const *reject)
SOFIAPUBFUN int su_strnmatch (char const *str, char const *with, size_t n)
SOFIAPUBFUN size_t su_strnspn (char const *s, size_t size, char const *term)

Detailed Description

String functions for Sofia-SIP.

Various string comparison functions also accepting NULL pointer as empty string:

Also includes span functions testing at most n bytes:

Definition in file su_string.h.


Generated by  Doxygen 1.6.0   Back to index