Sun Java System Web Proxy Server 4.0.11 NSAPI Developer's Guide

cif_write_entry

The cif_write_entry function writes a CIF entry for a specified CacheEntry structure. The CIF entry is stored in the cache file itself.

Syntax

#include <libproxy/cif.h>
int cif_write_entry(CacheEntry *ce,int new_cachefile)

Returns

Parameters

CacheEntry *ce is a cache entry structure to be written to the .cif file.

int new_cachefile The values are 1 or 0:

1 if the file is a new cache file

0 if the file exists and the CIF entry is to be modified