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


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


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



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