#include <string.h>
#include "str.h"


Go to the source code of this file.
Defines | |
| #define | cmp_strz(a, b) strcmp((a), (b)) |
| #define | cmpi_strz(a, b) strcasecmp((a), (b)) |
Functions | |
| int | cmp_aor_str (str *s1, str *s2) |
| int | cmp_hdrname_str (str *s1, str *s2) |
| int | cmp_hdrname_strzn (str *s1, char *s2, size_t n) |
| int | cmp_str (str *s1, str *s2) |
| int | cmp_uri_str (str *s1, str *s2) |
| int | cmpi_str (str *s1, str *s2) |
Definition in file cmpapi.h.
| #define cmp_strz | ( | a, | |||
| b | ) | strcmp((a), (b)) |
return:
Definition at line 228 of file cmpapi.c.
References cmp_aor(), _str::len, parse_uri(), and _str::s.
Referenced by w_cmp_aor().
Definition at line 78 of file cmpapi.c.
References cmpi_str().
Referenced by add_hf_helper(), get_autenticate_hdr(), get_sock_hdr(), is_present_hf_f(), and remove_hf_f().
| int cmp_hdrname_strzn | ( | str * | s1, | |
| char * | s2, | |||
| size_t | n | |||
| ) |
Definition at line 84 of file cmpapi.c.
References cmpi_str(), _str::len, _str::s, and s.
Referenced by bla_handle_notify(), handle_publish(), mi_publ_rpl_cback(), Notify2Xmpp(), publ_cback_func(), rls_handle_notify(), rls_handle_subscribe(), and verify_source().
return:
Definition at line 181 of file cmpapi.c.
References cmp_uri(), _str::len, parse_uri(), and _str::s.
Referenced by w_cmp_uri().
Definition at line 55 of file cmpapi.c.
References _str::len, len, and _str::s.
Referenced by cmp_aor(), cmp_hdrname_str(), cmp_hdrname_strzn(), cmp_istr_f(), and cmp_uri().
1.5.6