|
Data Structures |
struct | _AlpExgClientExecuteData |
struct | _AlpExgClientExecGSource |
struct | _AlpExgWaitExecuteResultMsg |
#define | ALP_EXG_TRANSPORT_EVENT_INCOMING_REQUEST 1 |
| Transport events that can be notified back to the daemon transport has an incoming ready to dispatch.
|
#define | ALP_EXG_TRANSPORT_EVENT_FATAL_ERROR 2 |
| transport encountered an unrecoverable error
|
Defines |
#define | ALP_EXG_TRANSPORTS_MAX_COUNT 5 |
#define | ALP_EXG_TRANSPORT_NAME_MAX_LEN 30 |
#define | EXG_MAX_ASYNC_EXEC_COUNT 3 |
#define | ALP_EXG_TRANSPORT_EXECUTE_INIT_STATE 0 |
#define | ALP_EXG_TRANSPORT_EXECUTE_COMPLETE_STATE 0xffff |
#define | ALP_EXG_MSG_RESULT 1 |
#define | ALP_EXG_MSG_PROGRESS_PREPARING 2 |
#define | ALP_EXG_MSG_PROGRESS_CONNECTING 3 |
#define | ALP_EXG_MSG_PROGRESS_SENDING 4 |
#define | ALP_EXG_MSG_PROGRESS_DISCONNECTING 5 |
#define | ALP_EXG_MSG_PROGRESS_ABORTING 6 |
#define | ALP_EXG_MSG_RX_BT_CONNECTING 10 |
#define | ALP_EXG_MSG_RX_IR_CONNECTING 11 |
#define | ALP_EXG_MSG_RX_BT_INIT_OBJECT 12 |
#define | ALP_EXG_MSG_RX_IR_INIT_OBJECT 13 |
#define | ALP_EXG_MSG_RX_BT_FILENAME 14 |
#define | ALP_EXG_MSG_RX_IR_FILENAME 15 |
#define | ALP_EXG_MSG_RX_BT_RECEIVING_INFO 16 |
#define | ALP_EXG_MSG_RX_IR_RECEIVING_INFO 17 |
#define | ALP_EXG_MSG_RX_BT_RECEIVING_INFO_NODESC 18 |
#define | ALP_EXG_MSG_RX_IR_RECEIVING_INFO_NODESC 19 |
#define | ALP_EXG_RCV_PROGRESS_NOTIF_TYPE "exg_obex_rcv_progress" |
#define | ALP_EXG_MSG_PROGRESS_INFO_MAX_LEN 50 |
Typedefs |
typedef alp_status_t(* | alp_exg_transport_event_notify_func )(int iTransportId, int iTransportEvent, void *iTransportEventData, size_t iTransportEventDataSize) |
typedef alp_status_t(* | alp_exg_transport_init_func )(alp_exg_transport_event_notify_func iTransportEventNotifyFunc, int iTransportId) |
typedef alp_status_t(* | alp_exg_transport_deinit_func )() |
typedef alp_status_t(* | alp_exg_transport_dispatch_result_func )(AlpExgRequest iRequest, alp_status_t iHandlerErr) |
typedef alp_status_t(* | alp_exg_transport_execute_request_func )(AlpExgRequest iRequest, GPollFD *iPollFd, int *iState) |
typedef alp_status_t(* | alp_exg_transport_ask_params_func )(char **oTransportParams) |
typedef alp_status_t(* | alp_exg_transport_cancel_func )(int iGuid) |
typedef _AlpExgClientExecuteData | AlpExgClientExecuteData |
typedef _AlpExgClientExecGSource | AlpExgClientExecGSource |
typedef _AlpExgWaitExecuteResultMsg | AlpExgWaitExecuteResultMsg |
Functions |
alp_status_t | alp_exg_transport_event_notify (int iTransportId, int iTransportEvent, void *iTransportEventData, size_t iTransportEventDataSize) |
| Prototype of the daemon function to be called back when the transport has an event to notify.
|
alp_status_t | alp_exg_transport_init (alp_exg_transport_event_notify_func iTransportEventNotifyFunc, int iTransportId) |
| Initialize the transport.
|
alp_status_t | alp_exg_transport_deinit () |
| Uninitialize the transport.
|
alp_status_t | alp_exg_transport_dispatch_result (AlpExgRequest iRequest, alp_status_t iHandlerErr) |
| Receive the request dispatch result.
|
alp_status_t | alp_exg_transport_execute_request (AlpExgRequest iRequest, GPollFD *iPollFd, int *iState) |
| Transmit request to destination.
|
alp_status_t | alp_exg_transport_ask_params (char **oTransportParams) |
| Builds a full transport string.
|
alp_status_t | alp_exg_transport_cancel (int iGuid) |
| Cancel a request executing in the transport.
|