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
cee7e2fe
Commit
cee7e2fe
authored
Feb 01, 2007
by
Dafydd Harries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more spaces to header files
darcs-hash:20070201115653-c9803-d34ffa19c7f17ddf805890dd598daa3f0b844e63.gz
parent
22073fec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
stun/stun.h
stun/stun.h
+11
-0
udp/udp-fake.h
udp/udp-fake.h
+2
-0
udp/udp.h
udp/udp.h
+3
-0
No files found.
stun/stun.h
View file @
cee7e2fe
...
@@ -80,37 +80,48 @@ struct _StunMessage {
...
@@ -80,37 +80,48 @@ struct _StunMessage {
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
StunAttribute
*
StunAttribute
*
stun_attribute_mapped_address_new
(
guint32
ip_address
,
guint16
port
);
stun_attribute_mapped_address_new
(
guint32
ip_address
,
guint16
port
);
StunAttribute
*
StunAttribute
*
stun_attribute_username_new
(
const
gchar
*
username
);
stun_attribute_username_new
(
const
gchar
*
username
);
void
void
stun_attribute_free
(
StunAttribute
*
attr
);
stun_attribute_free
(
StunAttribute
*
attr
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
guint
guint
stun_attribute_pack
(
StunAttribute
*
attr
,
gchar
**
ret
);
stun_attribute_pack
(
StunAttribute
*
attr
,
gchar
**
ret
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
gchar
*
gchar
*
stun_attribute_dump
(
StunAttribute
*
attr
);
stun_attribute_dump
(
StunAttribute
*
attr
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
StunAttribute
*
StunAttribute
*
stun_attribute_unpack
(
guint
length
,
const
gchar
*
s
);
stun_attribute_unpack
(
guint
length
,
const
gchar
*
s
);
void
void
stun_message_init
(
StunMessage
*
msg
,
guint
type
,
gchar
*
id
);
stun_message_init
(
StunMessage
*
msg
,
guint
type
,
gchar
*
id
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
StunMessage
*
StunMessage
*
stun_message_new
(
guint
type
,
gchar
*
id
);
stun_message_new
(
guint
type
,
gchar
*
id
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
StunMessage
*
StunMessage
*
stun_message_binding_request_new
(
void
);
stun_message_binding_request_new
(
void
);
void
void
stun_message_free
(
StunMessage
*
msg
);
stun_message_free
(
StunMessage
*
msg
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
guint
guint
stun_message_pack
(
StunMessage
*
msg
,
gchar
**
packed
);
stun_message_pack
(
StunMessage
*
msg
,
gchar
**
packed
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
gchar
*
gchar
*
stun_message_dump
(
StunMessage
*
msg
);
stun_message_dump
(
StunMessage
*
msg
);
G_GNUC_WARN_UNUSED_RESULT
G_GNUC_WARN_UNUSED_RESULT
StunMessage
*
StunMessage
*
stun_message_unpack
(
guint
length
,
gchar
*
s
);
stun_message_unpack
(
guint
length
,
gchar
*
s
);
...
...
udp/udp-fake.h
View file @
cee7e2fe
...
@@ -8,12 +8,14 @@ G_BEGIN_DECLS
...
@@ -8,12 +8,14 @@ G_BEGIN_DECLS
void
void
udp_fake_socket_manager_init
(
UDPSocketManager
*
man
);
udp_fake_socket_manager_init
(
UDPSocketManager
*
man
);
void
void
udp_fake_socket_push_recv
(
udp_fake_socket_push_recv
(
UDPSocket
*
man
,
UDPSocket
*
man
,
struct
sockaddr_in
*
from
,
struct
sockaddr_in
*
from
,
guint
len
,
guint
len
,
gchar
*
buf
);
gchar
*
buf
);
guint
guint
udp_fake_socket_pop_send
(
udp_fake_socket_pop_send
(
UDPSocket
*
man
,
UDPSocket
*
man
,
...
...
udp/udp.h
View file @
cee7e2fe
...
@@ -46,6 +46,7 @@ udp_socket_manager_alloc_socket (
...
@@ -46,6 +46,7 @@ udp_socket_manager_alloc_socket (
UDPSocketManager
*
man
,
UDPSocketManager
*
man
,
UDPSocket
*
sock
,
UDPSocket
*
sock
,
struct
sockaddr_in
*
sin
);
struct
sockaddr_in
*
sin
);
void
void
udp_socket_manager_close
(
UDPSocketManager
*
man
);
udp_socket_manager_close
(
UDPSocketManager
*
man
);
...
@@ -55,12 +56,14 @@ udp_socket_recv (
...
@@ -55,12 +56,14 @@ udp_socket_recv (
struct
sockaddr_in
*
sin
,
struct
sockaddr_in
*
sin
,
guint
len
,
guint
len
,
gchar
*
buf
);
gchar
*
buf
);
void
void
udp_socket_send
(
udp_socket_send
(
UDPSocket
*
sock
,
UDPSocket
*
sock
,
struct
sockaddr_in
*
sin
,
struct
sockaddr_in
*
sin
,
guint
len
,
guint
len
,
gchar
*
buf
);
gchar
*
buf
);
void
void
udp_socket_close
(
UDPSocket
*
sock
);
udp_socket_close
(
UDPSocket
*
sock
);
...
...
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