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

The ConnectMode Data Structure

The ConnectMode data structure is actually an enumerated list of constants. Aways use their names because values are subject to implementation change.

typedef enum {
CM_NORMAL = 0,            /* normal -- retrieve/refresh when necessary */
CM_FAST_DEMO,            /* fast -- retrieve only if not in cache already */
CM_NEVER            /* never -- never connect to network */
} ConnectMode;