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) |
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.
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
network | the network to connect | |
existing_connections | existing network connections | |
private | private data for the module |
References ILOG_INFO.
Referenced by icd_policy_init().