Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olivier Crête
libnice
Commits
45524a73
Commit
45524a73
authored
Feb 25, 2019
by
Jakub Adam
Committed by
Olivier Crête
May 09, 2019
Browse files
agent: Add "closed" signal
parent
0556ec49
Changes
1
Hide whitespace changes
Inline
Side-by-side
agent/agent.c
View file @
45524a73
...
...
@@ -136,6 +136,7 @@ enum
SIGNAL_NEW_SELECTED_PAIR_FULL
,
SIGNAL_NEW_CANDIDATE_FULL
,
SIGNAL_NEW_REMOTE_CANDIDATE_FULL
,
SIGNAL_CLOSED
,
N_SIGNALS
,
};
...
...
@@ -1140,6 +1141,28 @@ nice_agent_class_init (NiceAgentClass *klass)
NICE_TYPE_CANDIDATE
,
G_TYPE_INVALID
);
/**
* NiceAgent::closed
* @agent: The #NiceAgent object
*
* This signal is fired when the agent finishes freeing resources it
* previously allocated on remote servers (e.g. relay ports) and is ready
* to be disposed.
*
* Since: 0.1.16
*/
signals
[
SIGNAL_CLOSED
]
=
g_signal_new
(
"closed"
,
G_OBJECT_CLASS_TYPE
(
klass
),
G_SIGNAL_RUN_LAST
,
0
,
NULL
,
NULL
,
NULL
,
G_TYPE_NONE
,
0
);
/* Init debug options depending on env variables */
nice_debug_init
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment