Sun Java System Web Proxy Server 4.0.3 2006Q2 NSAPI Developer's Guide

util_url_cmp

The util_url_cmp function compares two URLs. It is analogous to the strcmp( ) library function of C.

Syntax

#include <libproxy/util.h>
int util_url_cmp (char *s1, char *s2);

Returns

Parameters

char *s1 is the first URL to be tested.

char *s2 is the second URL to be tested.

See also

util_url_fix_host name, util_uri_check