Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
d9950548
Commit
d9950548
authored
Jun 30, 2014
by
Philip Withnall
Committed by
Olivier Crête
Jul 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent: Add missing (element-type) annotations to gtk-doc comments
These make the GSLists usable from introspection.
parent
a35bc947
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
agent/agent.h
agent/agent.h
+11
-9
agent/interfaces.h
agent/interfaces.h
+4
-2
No files found.
agent/agent.h
View file @
d9950548
...
@@ -596,7 +596,8 @@ nice_agent_get_local_credentials (
...
@@ -596,7 +596,8 @@ nice_agent_get_local_credentials (
* @agent: The #NiceAgent Object
* @agent: The #NiceAgent Object
* @stream_id: The ID of the stream the candidates are for
* @stream_id: The ID of the stream the candidates are for
* @component_id: The ID of the component the candidates are for
* @component_id: The ID of the component the candidates are for
* @candidates: a #GSList of #NiceCandidate items describing each candidate to add
* @candidates: (element-type NiceCandidate) (transfer none): a #GSList of
* #NiceCandidate items describing each candidate to add
*
*
* Sets, adds or updates the remote candidates for a component of a stream.
* Sets, adds or updates the remote candidates for a component of a stream.
*
*
...
@@ -744,8 +745,8 @@ nice_agent_send_messages_nonblocking (
...
@@ -744,8 +745,8 @@ nice_agent_send_messages_nonblocking (
</para>
</para>
</note>
</note>
*
*
* Returns:
a #GSList of #NiceCandidate objects representing
* Returns:
(element-type NiceCandidate) (transfer full): a #GSList of
* the local candidates of @agent
*
#NiceCandidate objects representing
the local candidates of @agent
**/
**/
GSList
*
GSList
*
nice_agent_get_local_candidates
(
nice_agent_get_local_candidates
(
...
@@ -774,8 +775,8 @@ nice_agent_get_local_candidates (
...
@@ -774,8 +775,8 @@ nice_agent_get_local_candidates (
</para>
</para>
</note>
</note>
*
*
* Returns:
a #GSList of #NiceCandidates objects representing
* Returns:
(element-type NiceCandidate) (transfer full): a #GSList of
* the remote candidates set on the @agent
*
#NiceCandidates objects representing
the remote candidates set on the @agent
**/
**/
GSList
*
GSList
*
nice_agent_get_remote_candidates
(
nice_agent_get_remote_candidates
(
...
@@ -1082,8 +1083,9 @@ nice_agent_get_selected_pair (
...
@@ -1082,8 +1083,9 @@ nice_agent_get_selected_pair (
* of proxy, as in this case, the socket will not be available to the
* of proxy, as in this case, the socket will not be available to the
* application because the packets are encapsulated.
* application because the packets are encapsulated.
*
*
* Returns: (transfer full) pointer to the #GSocket, or NULL if there is no
* Returns: (transfer full) (nullable): pointer to the #GSocket, or %NULL if
* selected candidate or if the selected candidate is a relayed candidate.
* there is no selected candidate or if the selected candidate is a relayed
* candidate.
*
*
* Since: 0.1.5
* Since: 0.1.5
*/
*/
...
@@ -1384,8 +1386,8 @@ nice_agent_parse_remote_sdp (
...
@@ -1384,8 +1386,8 @@ nice_agent_parse_remote_sdp (
* <para>See also: nice_agent_parse_remote_sdp() </para>
* <para>See also: nice_agent_parse_remote_sdp() </para>
* <para>See also: nice_agent_parse_remote_candidate_sdp() </para>
* <para>See also: nice_agent_parse_remote_candidate_sdp() </para>
*
*
* Returns:
A #GSList of candidates parsed from the SDP, or %NULL in case
of
* Returns:
(element-type NiceCandidate) (transfer full): A #GSList
of
* errors
*
candidates parsed from the SDP, or %NULL in case of
errors
*
*
* Since: 0.1.4
* Since: 0.1.4
**/
**/
...
...
agent/interfaces.h
View file @
d9950548
...
@@ -58,7 +58,8 @@ gchar * nice_interfaces_get_ip_for_interface (gchar *interface_name);
...
@@ -58,7 +58,8 @@ gchar * nice_interfaces_get_ip_for_interface (gchar *interface_name);
*
*
* Get a list of local ipv4 interface addresses
* Get a list of local ipv4 interface addresses
*
*
* Returns: a newly-allocated #GList of strings. The caller must free it.
* Returns: (element-type utf8) (transfer full): a newly-allocated #GList of
* strings. The caller must free it.
*/
*/
GList
*
nice_interfaces_get_local_ips
(
gboolean
include_loopback
);
GList
*
nice_interfaces_get_local_ips
(
gboolean
include_loopback
);
...
@@ -69,7 +70,8 @@ GList * nice_interfaces_get_local_ips (gboolean include_loopback);
...
@@ -69,7 +70,8 @@ GList * nice_interfaces_get_local_ips (gboolean include_loopback);
*
*
* Get the list of local interfaces
* Get the list of local interfaces
*
*
* Returns: a newly-allocated #GList of strings. The caller must free it.
* Returns: (element-type utf8) (transfer full): a newly-allocated #GList of
* strings. The caller must free it.
*/
*/
GList
*
nice_interfaces_get_local_interfaces
(
void
);
GList
*
nice_interfaces_get_local_interfaces
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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