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
d0cec237
Commit
d0cec237
authored
Oct 30, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make nice_address_init part of the API
parent
a58b92bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
agent/address.c
agent/address.c
+6
-0
agent/address.h
agent/address.h
+3
-8
nice/libnice.sym
nice/libnice.sym
+1
-0
No files found.
agent/address.c
View file @
d0cec237
...
...
@@ -44,6 +44,12 @@
#include "address.h"
NICEAPI_EXPORT
void
nice_address_init
(
NiceAddress
*
addr
)
{
addr
->
s
.
addr
.
sa_family
=
AF_UNSPEC
;
}
NICEAPI_EXPORT
NiceAddress
*
nice_address_new
(
void
)
{
...
...
agent/address.h
View file @
d0cec237
...
...
@@ -67,11 +67,6 @@ struct _NiceAddress
}
s
;
};
static
inline
void
nice_address_init
(
NiceAddress
*
addr
)
{
addr
->
s
.
addr
.
sa_family
=
AF_UNSPEC
;
}
NiceAddress
*
nice_address_new
(
void
);
...
...
@@ -80,7 +75,7 @@ void
nice_address_free
(
NiceAddress
*
addr
);
NiceAddress
*
nice_address_dup
(
const
NiceAddress
*
a
);
nice_address_dup
(
const
NiceAddress
*
a
ddr
);
void
nice_address_set_ipv4
(
NiceAddress
*
addr
,
guint32
addr_ipv4
);
...
...
@@ -110,11 +105,11 @@ void
nice_address_to_string
(
const
NiceAddress
*
addr
,
gchar
*
dst
);
gboolean
nice_address_is_private
(
const
NiceAddress
*
a
);
nice_address_is_private
(
const
NiceAddress
*
a
ddr
);
G_GNUC_WARN_UNUSED_RESULT
gboolean
nice_address_is_valid
(
const
NiceAddress
*
a
);
nice_address_is_valid
(
const
NiceAddress
*
a
ddr
);
G_END_DECLS
...
...
nice/libnice.sym
View file @
d0cec237
...
...
@@ -3,6 +3,7 @@ nice_address_dup
nice_address_equal
nice_address_free
nice_address_get_port
nice_address_init
nice_address_is_private
nice_address_is_valid
nice_address_new
...
...
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