icd/srv_provider_api.h File Reference

#include <sys/types.h>
#include <unistd.h>
#include <glib.h>
#include <dbus_api.h>
#include <network_api.h>

Go to the source code of this file.

Classes

struct  icd_srv_api

Defines

#define ICD_SRV_MODULE_VERSION   ICD_NW_MODULE_VERSION

Typedefs

typedef void(* icd_srv_identify_cb_fn )(const enum icd_srv_identify_status status, const gchar *service_type, const gchar *service_name, const guint service_attrs, const gchar *service_id, const gint service_priority, const gchar *network_type, const guint network_attrs, const gchar *network_id, gpointer identify_cb_token)
typedef void(* icd_srv_identify_fn )(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)
typedef void(* icd_srv_disconnect_cb_fn )(enum icd_srv_status status, gpointer disconnect_cb_token)
typedef void(* icd_srv_disconnect_fn )(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)
typedef void(* icd_srv_connect_cb_fn )(enum icd_srv_status status, const gchar *err_str, gpointer connect_cb_token)
typedef void(* icd_srv_connect_fn )(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)
typedef void(* icd_srv_child_exit_fn )(const pid_t pid, const gint exit_status, gpointer *private)
typedef void(* icd_srv_destruct_fn )(gpointer *private)
typedef void(* icd_srv_watch_pid_fn )(const pid_t pid, gpointer watch_cb_token)
typedef void(* icd_srv_close_fn )(enum icd_srv_status status, const gchar *err_str, const gchar *service_type, const guint service_attrs, const gchar *service_id, const gchar *network_type, const guint network_attrs, const gchar *network_id)
typedef void(* icd_srv_limited_conn_fn )(const enum icd_srv_limited_conn_status conn_status, const gchar *service_type, const guint service_attrs, const gchar *service_id, const gchar *network_type, const guint network_attrs, const gchar *network_id)
typedef gboolean(* icd_srv_init_fn )(struct icd_srv_api *srv_api, icd_srv_watch_pid_fn watch_cb, gpointer watch_cb_token, icd_srv_close_fn close, icd_srv_limited_conn_fn limited_conn)

Enumerations

enum  icd_srv_status { ICD_SRV_SUCCESS = 0, ICD_SRV_RESTART = 1, ICD_SRV_ERROR = 2 }
enum  icd_srv_identify_status { ICD_SRV_UNKNOWN = 0, ICD_SRV_IDENTIFIED = 1, ICD_SRV_CONTINUE = 8 }
enum  icd_srv_limited_conn_status { ICD_SRV_LIMITED_CONN_DISABLED = 0, ICD_SRV_LIMITED_CONN_ENABLED = 1 }


Detailed Description

Service provider API

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