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
63033bd1
Commit
63033bd1
authored
Feb 04, 2010
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an API to enable/disable debug messages for pseudotcp
parent
9b1a9844
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
69 deletions
+75
-69
agent/pseudotcp.c
agent/pseudotcp.c
+50
-69
agent/pseudotcp.h
agent/pseudotcp.h
+23
-0
docs/reference/libnice/libnice-sections.txt
docs/reference/libnice/libnice-sections.txt
+2
-0
No files found.
agent/pseudotcp.c
View file @
63033bd1
This diff is collapsed.
Click to expand it.
agent/pseudotcp.h
View file @
63033bd1
...
...
@@ -98,6 +98,20 @@ struct _PseudoTcpSocket {
PseudoTcpSocketPrivate
*
priv
;
};
/**
* PseudoTcpDebugLevel:
* @PSEUDO_TCP_DEBUG_NONE: Disable debug messages
* @PSEUDO_TCP_DEBUG_NORMAL: Enable basic debug messages
* @PSEUDO_TCP_DEBUG_VERBOSE: Enable verbose debug messages
*
* Valid values of debug levels to be set.
*/
typedef
enum
{
PSEUDO_TCP_DEBUG_NONE
=
0
,
PSEUDO_TCP_DEBUG_NORMAL
,
PSEUDO_TCP_DEBUG_VERBOSE
,
}
PseudoTcpDebugLevel
;
/**
* PseudoTcpState:
* @TCP_LISTEN: The socket's initial state. The socket isn't connected and is
...
...
@@ -350,6 +364,15 @@ gboolean pseudo_tcp_socket_notify_packet(PseudoTcpSocket *self,
const
gchar
*
buffer
,
guint32
len
);
/**
* pseudo_tcp_set_debug_level:
* @level: The level of debug to set
*
* Sets the debug level to enable/disable normal/verbose debug messages.
*
*/
void
pseudo_tcp_set_debug_level
(
PseudoTcpDebugLevel
level
);
G_END_DECLS
#endif
/* _PSEUDOTCP_H */
...
...
docs/reference/libnice/libnice-sections.txt
View file @
63033bd1
...
...
@@ -228,6 +228,7 @@ PseudoTcpSocket
PseudoTcpState
PseudoTcpWriteResult
PseudoTcpCallbacks
PseudoTcpDebugLevel
pseudo_tcp_socket_new
pseudo_tcp_socket_connect
pseudo_tcp_socket_recv
...
...
@@ -238,4 +239,5 @@ pseudo_tcp_socket_get_next_clock
pseudo_tcp_socket_notify_clock
pseudo_tcp_socket_notify_mtu
pseudo_tcp_socket_notify_packet
pseudo_tcp_set_debug_level
</SECTION>
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