| Classes | |
| struct | srv_test_data | 
| Functions | |
| gboolean | icd_srv_init (struct icd_srv_api *srv_api, icd_srv_watch_pid_fn watch_cb, gpointer watch_cb_token, icd_srv_close_fn close_cb) | 
| static void | srv_test_disconnect (const gchar *service_type, const guint service_attrs, const gchar *service_id, const gchar *network_type, const guint network_attrs, const gchar *network_id, const gchar *interface_name, icd_srv_disconnect_cb_fn disconnect_cb, gpointer disconnect_cb_token, gpointer *private) | 
| static void | srv_test_connect (const gchar *service_type, const guint service_attrs, const gchar *service_id, const gchar *network_type, const guint network_attrs, const gchar *network_id, const gchar *interface_name, icd_srv_connect_cb_fn connect_cb, gpointer connect_cb_token, gpointer *private) | 
| static void | srv_test_identify (enum icd_scan_status status, const gchar *network_type, const gchar *network_name, const guint network_attrs, const gchar *network_id, const guint network_priority, enum icd_nw_levels signal, const gchar *station_id, const gint dB, icd_srv_identify_cb_fn identify_cb, gpointer identify_cb_token, gpointer *private) | 
| static void | srv_test_destruct (gpointer *private) | 
| static void srv_test_connect | ( | const gchar * | service_type, | |
| const guint | service_attrs, | |||
| const gchar * | service_id, | |||
| const gchar * | network_type, | |||
| const guint | network_attrs, | |||
| const gchar * | network_id, | |||
| const gchar * | interface_name, | |||
| icd_srv_connect_cb_fn | connect_cb, | |||
| gpointer | connect_cb_token, | |||
| gpointer * | private | |||
| ) |  [static] | 
Connect (or authenticate) with a service provider.
| service_type | service type | |
| service_attrs | service attributes | |
| service_id | internal id identifying the service | |
| network_type | type of network connected to | |
| network_attrs | network attributes | |
| network_id | network identification | |
| interface_name | network interface used | |
| connect_cb | callback to call when connection attempt is completed | |
| connect_cb_token | token to pass to the callback | |
| private | reference to the private icd_srv_api member | 
References ICD_SRV_SUCCESS, and ILOG_DEBUG.
| static void srv_test_disconnect | ( | const gchar * | service_type, | |
| const guint | service_attrs, | |||
| const gchar * | service_id, | |||
| const gchar * | network_type, | |||
| const guint | network_attrs, | |||
| const gchar * | network_id, | |||
| const gchar * | interface_name, | |||
| icd_srv_disconnect_cb_fn | disconnect_cb, | |||
| gpointer | disconnect_cb_token, | |||
| gpointer * | private | |||
| ) |  [static] | 
Disconnect function for the service provider module
| service_type | service type | |
| service_attrs | service attributes | |
| service_id | internal id identifying the service | |
| network_type | type of network connected to | |
| network_attrs | network attributes | |
| network_id | network identification | |
| interface_name | network interface used | |
| disconnect_cb | callback to call when disconnection is completed | |
| disconnect_cb_token | token to pass to the callback | |
| private | reference to the private icd_srv_api member | 
References ICD_SRV_SUCCESS, and ILOG_DEBUG.
| static void srv_test_identify | ( | enum icd_scan_status | status, | |
| const gchar * | network_type, | |||
| const gchar * | network_name, | |||
| const guint | network_attrs, | |||
| const gchar * | network_id, | |||
| const guint | network_priority, | |||
| enum icd_nw_levels | signal, | |||
| const gchar * | station_id, | |||
| const gint | dB, | |||
| icd_srv_identify_cb_fn | identify_cb, | |||
| gpointer | identify_cb_token, | |||
| gpointer * | private | |||
| ) |  [static] | 
Identify wheter a given network is usable with this service provider. Even though this function has a callback, it is important that the decision is made as fast as possible in order not to slow down network scan processing. The service provider and network modules have to have a common understanding of both network_attrs and network_id parameters.
| status | status, see icd_scan_status | |
| network_type | network type | |
| network_name | name of the network displayable to the user | |
| network_attrs | network attributes | |
| network_id | network identification | |
| signal | signal strength | |
| station_id | station id, e.g. MAC address or similar id | |
| dB | absolute signal strength value in dB | |
| identify_cb | callback to call when the identification has been done | |
| identify_cb_token | token to pass to the identification callback | 
References ICD_SCAN_NOTIFY, and ILOG_DEBUG.
 1.5.6
 1.5.6