summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2011-02-01 01:07:55 +0200
committerPekka Pessi <Pekka.Pessi@nokia.com>2011-02-02 17:22:07 +0200
commit9b8b2a7a9d0a39557394c19d932603ac3a37dd40 (patch)
treef5eca7e485f12696252f9b39cce5f659002e63e4
parentc2becd941ca8ba98624b4622dd3d4d94e58345cf (diff)
sip-connection: remove functionality copied to TpsipBaseConnectiontpsip-base-connection
-rw-r--r--src/sip-connection-helpers.c8
-rw-r--r--src/sip-connection-helpers.h7
-rw-r--r--src/sip-connection.c21
3 files changed, 0 insertions, 36 deletions
diff --git a/src/sip-connection-helpers.c b/src/sip-connection-helpers.c
index 090472c..da192eb 100644
--- a/src/sip-connection-helpers.c
+++ b/src/sip-connection-helpers.c
@@ -153,14 +153,6 @@ tpsip_conn_create_request_handle (TpsipConnection *conn,
}
void
-tpsip_conn_save_event (TpsipConnection *conn,
- nua_saved_event_t ret_saved [1])
-{
- TpsipConnectionPrivate *priv = TPSIP_CONNECTION_GET_PRIVATE (conn);
- nua_save_event (priv->sofia_nua, ret_saved);
-}
-
-void
tpsip_conn_update_proxy_and_transport (TpsipConnection *conn)
{
TpsipConnectionPrivate *priv = TPSIP_CONNECTION_GET_PRIVATE (conn);
diff --git a/src/sip-connection-helpers.h b/src/sip-connection-helpers.h
index ca018a3..97896b9 100644
--- a/src/sip-connection-helpers.h
+++ b/src/sip-connection-helpers.h
@@ -51,13 +51,6 @@ void tpsip_conn_resolv_stun_server (TpsipConnection *conn, const gchar *stun_hos
void tpsip_conn_discover_stun_server (TpsipConnection *conn);
/***********************************************************************
- * Functions for saving NUA events
- ***********************************************************************/
-
-void tpsip_conn_save_event (TpsipConnection *conn,
- nua_saved_event_t ret_saved [1]);
-
-/***********************************************************************
* Heartbeat management for keepalives
***********************************************************************/
diff --git a/src/sip-connection.c b/src/sip-connection.c
index 62fa871..2751a44 100644
--- a/src/sip-connection.c
+++ b/src/sip-connection.c
@@ -61,16 +61,6 @@ G_DEFINE_TYPE_WITH_CODE (TpsipConnection, tpsip_connection,
G_IMPLEMENT_INTERFACE (TPSIP_TYPE_CONNECTION_ALIASING, NULL);
);
-#define ERROR_IF_NOT_CONNECTED_ASYNC(BASE, CONTEXT) \
- if ((BASE)->status != TP_CONNECTION_STATUS_CONNECTED) \
- { \
- GError e = { TP_ERRORS, TP_ERROR_NOT_AVAILABLE, \
- "Connection is disconnected" }; \
- DEBUG ("rejected request as disconnected"); \
- dbus_g_method_return_error ((CONTEXT), &e); \
- return; \
- }
-
/* properties */
enum
@@ -838,17 +828,6 @@ tpsip_connection_auth_cb (TpsipEventTarget *target,
FALSE);
}
-void
-tpsip_connection_connect_auth_handler (TpsipConnection *self,
- TpsipEventTarget *target)
-{
- g_signal_connect_object (target,
- "nua-event",
- G_CALLBACK (tpsip_connection_auth_cb),
- self,
- 0);
-}
-
static void
tpsip_connection_add_auth_handler (TpsipBaseConnection *self,
TpsipEventTarget *target)