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
d04efdb7
Commit
d04efdb7
authored
Apr 24, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Make conn_check_free_item() static
It is never used outside of this file.
parent
f559f388
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
agent/conncheck.c
agent/conncheck.c
+2
-1
agent/conncheck.h
agent/conncheck.h
+0
-1
No files found.
agent/conncheck.c
View file @
d04efdb7
...
@@ -71,6 +71,7 @@ static size_t priv_create_username (NiceAgent *agent, Stream *stream,
...
@@ -71,6 +71,7 @@ static size_t priv_create_username (NiceAgent *agent, Stream *stream,
uint8_t
*
dest
,
guint
dest_len
,
gboolean
inbound
);
uint8_t
*
dest
,
guint
dest_len
,
gboolean
inbound
);
static
size_t
priv_get_password
(
NiceAgent
*
agent
,
Stream
*
stream
,
static
size_t
priv_get_password
(
NiceAgent
*
agent
,
Stream
*
stream
,
NiceCandidate
*
remote
,
uint8_t
**
password
);
NiceCandidate
*
remote
,
uint8_t
**
password
);
static
void
conn_check_free_item
(
gpointer
data
,
gpointer
user_data
);
static
int
priv_timer_expired
(
GTimeVal
*
timer
,
GTimeVal
*
now
)
static
int
priv_timer_expired
(
GTimeVal
*
timer
,
GTimeVal
*
now
)
{
{
...
@@ -1397,7 +1398,7 @@ int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, Compo
...
@@ -1397,7 +1398,7 @@ int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, Compo
* Frees the CandidateCheckPair structure pointer to
* Frees the CandidateCheckPair structure pointer to
* by 'user data'. Compatible with g_slist_foreach().
* by 'user data'. Compatible with g_slist_foreach().
*/
*/
void
conn_check_free_item
(
gpointer
data
,
gpointer
user_data
)
static
void
conn_check_free_item
(
gpointer
data
,
gpointer
user_data
)
{
{
CandidateCheckPair
*
pair
=
data
;
CandidateCheckPair
*
pair
=
data
;
g_assert
(
user_data
==
NULL
);
g_assert
(
user_data
==
NULL
);
...
...
agent/conncheck.h
View file @
d04efdb7
...
@@ -83,7 +83,6 @@ struct _CandidateCheckPair
...
@@ -83,7 +83,6 @@ struct _CandidateCheckPair
int
conn_check_add_for_candidate
(
NiceAgent
*
agent
,
guint
stream_id
,
Component
*
component
,
NiceCandidate
*
remote
);
int
conn_check_add_for_candidate
(
NiceAgent
*
agent
,
guint
stream_id
,
Component
*
component
,
NiceCandidate
*
remote
);
int
conn_check_add_for_local_candidate
(
NiceAgent
*
agent
,
guint
stream_id
,
Component
*
component
,
NiceCandidate
*
local
);
int
conn_check_add_for_local_candidate
(
NiceAgent
*
agent
,
guint
stream_id
,
Component
*
component
,
NiceCandidate
*
local
);
void
conn_check_free_item
(
gpointer
data
,
gpointer
user_data
);
void
conn_check_free
(
NiceAgent
*
agent
);
void
conn_check_free
(
NiceAgent
*
agent
);
gboolean
conn_check_schedule_next
(
NiceAgent
*
agent
);
gboolean
conn_check_schedule_next
(
NiceAgent
*
agent
);
int
conn_check_send
(
NiceAgent
*
agent
,
CandidateCheckPair
*
pair
);
int
conn_check_send
(
NiceAgent
*
agent
,
CandidateCheckPair
*
pair
);
...
...
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