One connection only
[Policy modules]


Functions

void icd_policy_init (struct icd_policy_api *policy_api, icd_policy_nw_add_fn add_network, icd_policy_request_merge_fn merge_requests, icd_policy_request_make_new_fn make_request, icd_policy_scan_start_fn scan_start, icd_policy_scan_stop_fn scan_stop, icd_policy_nw_close_fn nw_close)
static void policy_one_connected (struct icd_policy_request *network, GSList *existing_connections, gpointer *private)

Function Documentation

void icd_policy_init ( struct icd_policy_api policy_api,
icd_policy_nw_add_fn  add_network,
icd_policy_request_merge_fn  merge_requests,
icd_policy_request_make_new_fn  make_request,
icd_policy_scan_start_fn  scan_start,
icd_policy_scan_stop_fn  scan_stop,
icd_policy_nw_close_fn  nw_close 
)

Policy module initialization function.

Parameters:
policy_api policy API structure to be filled in by the module
add_network function to add a network in response to a policy
merge_requests function to merge requests
make_request function for creating a new request
scan_networks function for scanning networks
nw_close function to disconnect a network

References icd_policy_api::connected, policy_one_connected(), and icd_policy_api::private.

static void policy_one_connected ( struct icd_policy_request network,
GSList *  existing_connections,
gpointer *  private 
) [static]

Informational policy called when a network has been successfully connected

Parameters:
network the network to connect
existing_connections existing network connections
private private data for the module

References ILOG_INFO.

Referenced by icd_policy_init().


Generated on Thu Mar 11 09:04:50 2010 for ICd2 by  doxygen 1.5.6