su 1.12.11devel
/build/buildd/sofia-sip-1.12.11+20110422/libsofia-sip-ua/su/sofia-sip/string0.h
Go to the documentation of this file.
00001 #ifndef STRING0_H
00002 
00003 #define STRING0_H
00004 
00016 #include <sofia-sip/su_string.h>
00017 
00018 su_inline int str0cmp(char const *a, char const *b);
00019 su_inline int str0ncmp(char const *a, char const *b, size_t n);
00020 su_inline int str0casecmp(char const *a, char const *b);
00021 su_inline int str0ncasecmp(char const *a, char const *b, size_t n);
00022 su_inline size_t strnspn(char const *s, size_t ssize, char const *term);
00023 su_inline size_t strncspn(char const *s, size_t ssize, char const *term);
00024 
00025 su_inline int str0cmp(char const *a, char const *b)
00026 {
00027   return su_strcmp(a, b);
00028 }
00029 
00030 su_inline int str0ncmp(char const *a, char const *b, size_t n)
00031 {
00032   return su_strncmp(a, b, n);
00033 }
00034 
00035 su_inline int str0casecmp(char const *a, char const *b)
00036 {
00037   return su_strcasecmp(a, b);
00038 }
00039 
00040 su_inline int str0ncasecmp(char const *a, char const *b, size_t n)
00041 {
00042   return su_strncasecmp(a, b, n);
00043 }
00044 
00045 su_inline size_t strnspn(char const *s, size_t ssize, char const *term)
00046 {
00047   return su_strnspn(s, ssize, term);
00048 }
00049 
00050 su_inline size_t strncspn(char const *s, size_t ssize, char const *term)
00051 {
00052   return su_strncspn(s, ssize, term);
00053 }
00054 #endif
 All Data Structures Files Functions Variables Typedefs Enumerator Defines

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