Top | ![]() |
![]() |
![]() |
![]() |
RmConnection * | rm_connection_add () |
RmConnection * | rm_connection_find_by_id () |
void | rm_connection_set_type () |
void | rm_connection_remove () |
gchar * | rm_connection_get_duration_time () |
void | rm_connection_shutdown_duration_timer () |
RmConnection * rm_connection_add (gpointer device
,gint id
,RmConnectionType type
,const gchar *local_number
,const gchar *remote_number
);
Create and add a new RmConnection to connection list
device |
device creating this connection |
|
id |
unique connection id |
|
type |
type of RmConnectionType |
|
local_number |
local phone number (callee) |
|
remote_number |
remote phone number (caller) |
RmConnection *
rm_connection_find_by_id (gint id
);
Find RmConnection by id
.
void rm_connection_set_type (RmConnection *connection
,RmConnectionType type
);
Set additional connection type.
void
rm_connection_remove (RmConnection *connection
);
Removes connection
from connection list and frees structure.
gchar *
rm_connection_get_duration_time (RmConnection *connection
);
Retrieves duration time for given connection
.
void
rm_connection_shutdown_duration_timer (RmConnection *connection
);
Remove phone duration timer.