The ConnectMode data structure is actually an enumerated list of constants. Aways use the constant 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;