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
0cfa532d
Commit
0cfa532d
authored
Feb 08, 2007
by
Dafydd Harries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove nice_agent_pop_event
darcs-hash:20070208131326-c9803-3dd07a06f08c1cce484f7e8f663af391eb3df50d.gz
parent
df972e33
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
33 deletions
+1
-33
agent/agent.c
agent/agent.c
+0
-26
agent/agent.h
agent/agent.h
+0
-3
agent/test.c
agent/test.c
+1
-3
nice/libnice.symbols
nice/libnice.symbols
+0
-1
No files found.
agent/agent.c
View file @
0cfa532d
...
@@ -165,32 +165,6 @@ nice_agent_new (NiceUDPSocketFactory *factory)
...
@@ -165,32 +165,6 @@ nice_agent_new (NiceUDPSocketFactory *factory)
}
}
NiceEvent
*
nice_agent_pop_event
(
NiceAgent
*
agent
)
{
NiceEvent
*
event
;
GSList
*
head
;
if
(
agent
->
events
==
NULL
)
return
NULL
;
head
=
agent
->
events
;
event
=
head
->
data
;
agent
->
events
=
head
->
next
;
g_slist_free_1
(
head
);
return
event
;
}
#if 0
static void
nice_agent_push_event (NiceAgent *agent, NiceEvent *event)
{
agent->events = g_slist_append (agent->events, event);
}
#endif
static
void
static
void
nice_agent_add_local_host_candidate
(
nice_agent_add_local_host_candidate
(
NiceAgent
*
agent
,
NiceAgent
*
agent
,
...
...
agent/agent.h
View file @
0cfa532d
...
@@ -37,9 +37,6 @@ typedef void (*NiceAgentRecvFunc) (
...
@@ -37,9 +37,6 @@ typedef void (*NiceAgentRecvFunc) (
NiceAgent
*
NiceAgent
*
nice_agent_new
(
NiceUDPSocketFactory
*
factory
);
nice_agent_new
(
NiceUDPSocketFactory
*
factory
);
NiceEvent
*
nice_agent_pop_event
(
NiceAgent
*
agent
);
void
void
nice_agent_add_local_address
(
NiceAgent
*
agent
,
NiceAddress
*
addr
);
nice_agent_add_local_address
(
NiceAgent
*
agent
,
NiceAddress
*
addr
);
...
...
agent/test.c
View file @
0cfa532d
...
@@ -36,7 +36,6 @@ main (void)
...
@@ -36,7 +36,6 @@ main (void)
g_assert
(
agent
->
local_addresses
==
NULL
);
g_assert
(
agent
->
local_addresses
==
NULL
);
g_assert
(
agent
->
local_candidates
==
NULL
);
g_assert
(
agent
->
local_candidates
==
NULL
);
g_assert
(
nice_agent_pop_event
(
agent
)
==
NULL
);
/* add one local address */
/* add one local address */
nice_agent_add_local_address
(
agent
,
&
addr_local
);
nice_agent_add_local_address
(
agent
,
&
addr_local
);
...
@@ -71,8 +70,7 @@ main (void)
...
@@ -71,8 +70,7 @@ main (void)
g_assert
(
0
==
strcmp
(
candidate
->
username
,
"username"
));
g_assert
(
0
==
strcmp
(
candidate
->
username
,
"username"
));
g_assert
(
0
==
strcmp
(
candidate
->
password
,
"password"
));
g_assert
(
0
==
strcmp
(
candidate
->
password
,
"password"
));
/* check there's no unexpected events, and clean up */
/* clean up */
g_assert
(
nice_agent_pop_event
(
agent
)
==
NULL
);
nice_agent_free
(
agent
);
nice_agent_free
(
agent
);
return
0
;
return
0
;
}
}
...
...
nice/libnice.symbols
View file @
0cfa532d
...
@@ -14,7 +14,6 @@ T nice_agent_free
...
@@ -14,7 +14,6 @@ T nice_agent_free
T nice_agent_get_local_candidates
T nice_agent_get_local_candidates
T nice_agent_new
T nice_agent_new
T nice_agent_poll_read
T nice_agent_poll_read
T nice_agent_pop_event
T nice_agent_recv
T nice_agent_recv
T nice_agent_send
T nice_agent_send
T nice_candidate_free
T nice_candidate_free
...
...
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