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

cache_digest

The cache_digest function calculates the MD5 signature of a specified URL and stores the signature in a digest variable.

Syntax

#include <libproxy/cache.h>
void cache_digest(char *url, unsigned char digest[16]));

Returns

void

Parameters

char *url is a string containing the cache filename of a URL.

name *digest is an array to store the MD5 signature of the URL.

See also

cache_fn_to_dig