comparison functions
More...
#include "../../parser/parse_uri.h"
#include "../../parser/parse_param.h"
#include "cmpapi.h"
Go to the source code of this file.
Functions
-
int cmp_aor (struct sip_uri *uri1, struct sip_uri *uri2)
- Compare SIP AoR
- match user, host and port (if port missing, assume 5060) return:
- 0: match
- >0: no match
- <0: error.
-
int cmp_aor_str (str *s1, str *s2)
- return:
- 0: match
- >0: no match
- <0: error
-
int cmp_uri (struct sip_uri *uri1, struct sip_uri *uri2)
- Compare SIP URI as per RFC3261, 19.1.4 return:
- 0: match
- >0: no match
- <0: error.
-
int cmp_uri_str (str *s1, str *s2)
- return:
- 0: match
- >0: no match
- <0: error
Detailed Description
Definition in file cmpapi.c.