#include <icd_iap.h>
Public Attributes | |
gchar * | id |
gboolean | id_is_local |
enum icd_iap_state | state |
gboolean | limited_conn |
gchar * | service_name |
gchar * | network_name |
struct icd_policy_request | connection |
gchar * | interface_name |
guint | idletimer_id |
struct icd_network_module * | busy |
GSList * | network_modules |
GSList * | current_module |
GSList * | ip_down_list |
GSList * | link_pre_down_list |
GSList * | link_down_list |
gpointer | srv_connect_cb |
gpointer | srv_connect_cb_user_data |
gpointer | srv_disconnect_cb |
gpointer | srv_disconnect_cb_user_data |
enum icd_nw_layer | restart_layer |
enum icd_iap_state | restart_state |
guint | restart_count |
enum icd_nw_layer | renew_layer |
GSList * | current_renew_module |
gboolean | user_interaction_done |
gchar * | err_str |
gpointer | save_dlg |
icd_iap_request_cb_fn | request_cb |
gpointer | request_cb_user_data |
GSList * | script_env |
GSList * | script_pids |
gchar* icd_iap::id |
unique id of this IAP
Referenced by icd_dbus_api_disconnect_req(), icd_iap_find_by_id(), icd_iap_free(), icd_iap_id_create(), icd_iap_module_next(), icd_iap_post_up_script_done(), icd_iap_rename(), icd_iap_run_pre_up_scripts(), icd_iap_script_pre_down(), icd_request_try_iap_cb(), icd_status_connect(), icd_status_connected(), icd_status_disconnect(), icd_status_disconnected(), and icd_status_limited_conn().
gboolean icd_iap::id_is_local |
Wheter the id is local to icd2 only or a globally known one found in gconf.
Referenced by icd_iap_find_by_id(), icd_iap_free(), icd_iap_id_create(), icd_iap_module_next(), icd_iap_post_up_script_done(), icd_iap_rename(), icd_iap_run_pre_up_scripts(), icd_iap_script_pre_down(), icd_request_try_iap_cb(), icd_status_connect(), icd_status_connected(), icd_status_disconnect(), icd_status_disconnected(), and icd_status_limited_conn().
what state the IAP currently is in
Referenced by icd_dbus_api_state_get(), icd_iap_check_connected(), icd_iap_connect(), icd_iap_disconnect(), icd_iap_disconnect_cb(), icd_iap_disconnect_module(), icd_iap_get_ip_stats(), icd_iap_get_ipinfo(), icd_iap_get_link_post_stats(), icd_iap_get_link_stats(), icd_iap_has_connected(), icd_iap_ip_up_cb(), icd_iap_link_post_up_cb(), icd_iap_link_up_cb(), icd_iap_module_next(), icd_iap_post_down_script_done(), icd_iap_post_up_script_done(), icd_iap_pre_up_script_done(), icd_iap_rename(), icd_iap_restart(), icd_iap_run_restart(), icd_iap_srv_connect_cb(), icd_iap_up_callback(), icd_network_api_close(), icd_network_api_renew(), icd_network_api_status_update(), icd_osso_ic_get_state_foreach(), and icd_srv_provider_limited_conn().
gboolean icd_iap::limited_conn |
limited service provider connectivity
Referenced by icd_dbus_api_state_get(), icd_iap_disconnect(), icd_iap_disconnect_module(), icd_iap_module_next(), icd_osso_ic_get_state_foreach(), icd_srv_provider_limited_conn(), and icd_status_limited_conn().
gchar* icd_iap::service_name |
service level name displayable to the user
Referenced by icd_iap_free().
gchar* icd_iap::network_name |
name of the network displayable to user
Referenced by icd_iap_free().
struct icd_policy_request icd_iap::connection [read] |
service and network indetification attributes compatible with the policy framework due to ICD_NW_RESTART policy check
Referenced by icd_dbus_api_addrinfo_send(), icd_dbus_api_send_connect_sig(), icd_dbus_api_statistics_ip_cb(), icd_dbus_api_update_state(), icd_iap_connect(), icd_iap_disconnect(), icd_iap_disconnect_module(), icd_iap_find(), icd_iap_free(), icd_iap_get_ip_stats(), icd_iap_get_ipinfo(), icd_iap_get_link_post_stats(), icd_iap_get_link_stats(), icd_iap_id_create(), icd_iap_module_next(), icd_iap_post_up_script_done(), icd_iap_renew(), icd_iap_run_pre_up_scripts(), icd_iap_run_renew(), icd_iap_run_renew_cb(), icd_iap_run_restart(), icd_iap_script_pre_down(), icd_idle_timer_foreach_iap(), icd_idle_timer_set(), icd_policy_api_existing_conn_foreach(), icd_policy_api_existing_requests_get(), icd_request_add_iap(), icd_request_cancel(), icd_request_find_by_iap(), icd_request_find_by_iap_id(), icd_request_send_ack(), icd_request_try_iap(), icd_request_try_iap_cb(), icd_srv_provider_connect(), icd_srv_provider_disconnect(), icd_srv_provider_has_next(), icd_status_connect(), icd_status_connected(), icd_status_disconnect(), icd_status_disconnected(), and icd_status_limited_conn().
gchar* icd_iap::interface_name |
network interface
Referenced by icd_iap_disconnect(), icd_iap_disconnect_module(), icd_iap_free(), icd_iap_link_up_cb(), icd_iap_module_next(), icd_iap_script_pre_down(), icd_iap_up_callback(), icd_idle_timer_foreach_iap(), icd_idle_timer_set(), icd_idle_timer_start(), icd_idle_timer_unset(), icd_srv_provider_connect(), and icd_srv_provider_disconnect().
guint icd_iap::idletimer_id |
idle timer id
Referenced by icd_idle_timer_set(), icd_idle_timer_start(), icd_idle_timer_trigger(), and icd_idle_timer_unset().
struct icd_network_module* icd_iap::busy [read] |
module that is busy serving other IAPs causing current IAP to fail
Referenced by icd_iap_connect(), icd_iap_post_down_script_done(), icd_iap_up_callback(), and icd_request_try_iap_cb().
GSList* icd_iap::network_modules |
list of network modules associated with this network type
Referenced by icd_iap_connect(), icd_iap_get_ip_stats(), icd_iap_get_ipinfo(), icd_iap_get_link_post_stats(), icd_iap_get_link_stats(), icd_iap_next_ip_up_module(), icd_iap_next_link_post_up_module(), icd_iap_next_link_up_module(), icd_iap_renew(), and icd_request_find_iap_by_module().
GSList* icd_iap::current_module |
current network module
Referenced by icd_iap_disconnect(), icd_iap_free(), icd_iap_modules_reset(), icd_iap_next_ip_up_module(), icd_iap_next_link_post_up_module(), icd_iap_next_link_up_module(), and icd_iap_up_callback().
GSList* icd_iap::ip_down_list |
list of icd_iap_disconnect ip down functions to call on disconnect
Referenced by icd_iap_disconnect_module(), icd_iap_free(), and icd_iap_up_callback().
GSList* icd_iap::link_pre_down_list |
list of icd_iap_disconnect link pre down functions to call on disconnect
Referenced by icd_iap_disconnect_module(), icd_iap_free(), and icd_iap_up_callback().
GSList* icd_iap::link_down_list |
list of link down functions to call on disconnect
Referenced by icd_iap_disconnect_module(), icd_iap_free(), and icd_iap_up_callback().
gpointer icd_iap::srv_connect_cb |
service provider connect callback
Referenced by icd_srv_provider_connect(), icd_srv_provider_connect_cb(), and icd_srv_provider_has_next().
gpointer icd_iap::srv_connect_cb_user_data |
service provider connect user data
Referenced by icd_srv_provider_connect(), and icd_srv_provider_connect_cb().
gpointer icd_iap::srv_disconnect_cb |
service provider disconnect callback
Referenced by icd_srv_provider_disconnect(), and icd_srv_provider_disconnect_cb().
gpointer icd_iap::srv_disconnect_cb_user_data |
service provider disconnect user data
Referenced by icd_srv_provider_disconnect(), and icd_srv_provider_disconnect_cb().
what layer to restart
Referenced by icd_iap_restart(), icd_iap_run_renew_cb(), and icd_iap_run_restart().
what state the restart came from; used to figure out wheter network scripts need to be run
Referenced by icd_iap_restart(), and icd_iap_run_restart().
guint icd_iap::restart_count |
monitor how many times the IAP has been restarted
Referenced by icd_iap_run_restart().
what layer to renew
Referenced by icd_iap_renew(), icd_iap_run_renew(), and icd_iap_run_renew_cb().
GSList* icd_iap::current_renew_module |
what module is being renewed
Referenced by icd_iap_renew(), icd_iap_run_renew(), and icd_iap_run_renew_cb().
gboolean icd_iap::user_interaction_done |
wheter the module did all the user prompting and retry dialogs are not needed
Referenced by icd_iap_up_callback(), and icd_request_try_iap_cb().
gchar* icd_iap::err_str |
error that caused iap to fail
Referenced by icd_dbus_api_update_state(), icd_iap_disconnect(), icd_iap_free(), icd_iap_post_down_script_done(), icd_iap_run_restart(), icd_iap_up_callback(), and icd_request_try_iap_cb().
gpointer icd_iap::save_dlg |
opaque token for save dialog request
Referenced by icd_iap_disconnect(), icd_iap_post_up_script_done(), and icd_iap_save_cb().
request status callback
Referenced by icd_iap_connect(), and icd_iap_do_callback().
gpointer icd_iap::request_cb_user_data |
user data to pass to the callback
Referenced by icd_iap_connect(), and icd_iap_do_callback().
GSList* icd_iap::script_env |
list of struct icd_iap_env environment variables
Referenced by icd_iap_free(), icd_iap_module_next(), and icd_iap_script_pre_down().
GSList* icd_iap::script_pids |
list of script pids being waited for
Referenced by icd_iap_module_next(), icd_iap_post_down_script_done(), icd_iap_post_up_script_done(), icd_iap_pre_down_script_done(), icd_iap_pre_up_script_done(), icd_iap_run_pre_up_scripts(), and icd_iap_script_pre_down().