The util_url_cmp function compares two URLs. This function is analogous to the strcmp( )()library function of C.
#include <libproxy/util.h> int util_url_cmp (char *s1, char *s2);
-1 if the first URL, s1, is less than the second, s2
0 if they are identical
1 if the first URL, s1, is greater than the second, s2
char *s1 is the first URL to be tested.
char *s2 is the second URL to be tested.