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
e6a8215a
Commit
e6a8215a
authored
May 26, 2022
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address: Add Boxed Type
This should make the library more easily usable for bindings
parent
e0a455b4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
0 deletions
+11
-0
agent/address.c
agent/address.c
+3
-0
agent/address.h
agent/address.h
+4
-0
docs/reference/libnice/libnice-sections.txt
docs/reference/libnice/libnice-sections.txt
+3
-0
nice/libnice.sym
nice/libnice.sym
+1
-0
No files found.
agent/address.c
View file @
e6a8215a
...
...
@@ -88,6 +88,9 @@ inet_ntop_win32 (int af, const void *src, char *dst, socklen_t cnt)
#endif
NICEAPI_EXPORT
G_DEFINE_BOXED_TYPE
(
NiceAddress
,
nice_address
,
nice_address_dup
,
nice_address_free
);
NICEAPI_EXPORT
void
nice_address_init
(
NiceAddress
*
addr
)
...
...
agent/address.h
View file @
e6a8215a
...
...
@@ -51,6 +51,7 @@
#include <glib.h>
#include <glib-object.h>
#ifdef G_OS_WIN32
#include <winsock2.h>
...
...
@@ -64,6 +65,9 @@
G_BEGIN_DECLS
#define NICE_TYPE_ADDRESS (nice_address_get_type())
GType
nice_address_get_type
(
void
);
/**
* NiceAddress:
...
...
docs/reference/libnice/libnice-sections.txt
View file @
e6a8215a
...
...
@@ -148,6 +148,9 @@ nice_address_is_private
nice_address_is_linklocal
nice_address_is_valid
nice_address_ip_version
<SUBSECTION Standard>
NICE_TYPE_ADDRESS
nice_address_get_type
</SECTION>
...
...
nice/libnice.sym
View file @
e6a8215a
...
...
@@ -4,6 +4,7 @@ nice_address_equal
nice_address_equal_no_port
nice_address_free
nice_address_get_port
nice_address_get_type
nice_address_init
nice_address_ip_version
nice_address_is_private
...
...
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