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
d24855d7
Commit
d24855d7
authored
May 17, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
candidate: Add Boxed type
parent
7a39f60f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
agent/candidate.c
agent/candidate.c
+3
-0
agent/candidate.h
agent/candidate.h
+9
-0
docs/reference/libnice/libnice-sections.txt
docs/reference/libnice/libnice-sections.txt
+9
-0
No files found.
agent/candidate.c
View file @
d24855d7
...
@@ -53,6 +53,9 @@
...
@@ -53,6 +53,9 @@
#include "agent.h"
#include "agent.h"
#include "component.h"
#include "component.h"
G_DEFINE_BOXED_TYPE
(
NiceCandidate
,
nice_candidate
,
nice_candidate_copy
,
nice_candidate_free
);
/* (ICE 4.1.1 "Gathering Candidates") ""Every candidate is a transport
/* (ICE 4.1.1 "Gathering Candidates") ""Every candidate is a transport
* address. It also has a type and a base. Three types are defined and
* address. It also has a type and a base. Three types are defined and
* gathered by this specification - host candidates, server reflexive
* gathered by this specification - host candidates, server reflexive
...
...
agent/candidate.h
View file @
d24855d7
...
@@ -226,6 +226,15 @@ nice_candidate_free (NiceCandidate *candidate);
...
@@ -226,6 +226,15 @@ nice_candidate_free (NiceCandidate *candidate);
NiceCandidate
*
NiceCandidate
*
nice_candidate_copy
(
const
NiceCandidate
*
candidate
);
nice_candidate_copy
(
const
NiceCandidate
*
candidate
);
GType
nice_candidate_get_type
(
void
);
/**
* NICE_TYPE_CANDIDATE:
*
* A boxed type for a #NiceCandidate.
*/
#define NICE_TYPE_CANDIDATE nice_candidate_get_type ()
G_END_DECLS
G_END_DECLS
#endif
/* _CANDIDATE_H */
#endif
/* _CANDIDATE_H */
...
...
docs/reference/libnice/libnice-sections.txt
View file @
d24855d7
...
@@ -74,11 +74,20 @@ NICE_CANDIDATE_MAX_FOUNDATION
...
@@ -74,11 +74,20 @@ NICE_CANDIDATE_MAX_FOUNDATION
nice_candidate_new
nice_candidate_new
nice_candidate_free
nice_candidate_free
nice_candidate_copy
nice_candidate_copy
<SUBSECTION Standard>
NICE_TYPE_CANDIDATE
nice_candidate_get_type
<SUBSECTION Private>
<SUBSECTION Private>
NICE_CANDIDATE_TYPE_PREF_HOST
NICE_CANDIDATE_TYPE_PREF_HOST
NICE_CANDIDATE_TYPE_PREF_PEER_REFLEXIVE
NICE_CANDIDATE_TYPE_PREF_PEER_REFLEXIVE
NICE_CANDIDATE_TYPE_PREF_SERVER_REFLEXIVE
NICE_CANDIDATE_TYPE_PREF_SERVER_REFLEXIVE
NICE_CANDIDATE_TYPE_PREF_RELAYED
NICE_CANDIDATE_TYPE_PREF_RELAYED
NICE_CANDIDATE_TYPE_PREF_NAT_ASSISTED
NICE_CANDIDATE_TYPE_PREF_UDP_TUNNELED
NICE_CANDIDATE_DIRECTION_MS_PREF_ACTIVE
NICE_CANDIDATE_DIRECTION_MS_PREF_PASSIVE
NICE_CANDIDATE_TRANSPORT_MS_PREF_TCP
NICE_CANDIDATE_TRANSPORT_MS_PREF_UDP
nice_candidate_jingle_priority
nice_candidate_jingle_priority
nice_candidate_msn_priority
nice_candidate_msn_priority
nice_candidate_ice_priority_full
nice_candidate_ice_priority_full
...
...
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