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
f40bf42a
Commit
f40bf42a
authored
Mar 31, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix documentation
parent
b0e2f256
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
18 deletions
+22
-18
docs/reference/libnice/libnice-sections.txt
docs/reference/libnice/libnice-sections.txt
+1
-0
stun/stunagent.h
stun/stunagent.h
+20
-18
stun/stunmessage.h
stun/stunmessage.h
+1
-0
No files found.
docs/reference/libnice/libnice-sections.txt
View file @
f40bf42a
...
@@ -119,6 +119,7 @@ stun_agent_init_response
...
@@ -119,6 +119,7 @@ stun_agent_init_response
stun_agent_init_error
stun_agent_init_error
stun_agent_build_unknown_attributes_error
stun_agent_build_unknown_attributes_error
stun_agent_finish_message
stun_agent_finish_message
stun_agent_forget_transaction
stun_debug_enable
stun_debug_enable
stun_debug_disable
stun_debug_disable
<SUBSECTION Private>
<SUBSECTION Private>
...
...
stun/stunagent.h
View file @
f40bf42a
...
@@ -330,24 +330,6 @@ StunValidationStatus stun_agent_validate (StunAgent *agent, StunMessage *msg,
...
@@ -330,24 +330,6 @@ StunValidationStatus stun_agent_validate (StunAgent *agent, StunMessage *msg,
const
uint8_t
*
buffer
,
size_t
buffer_len
,
const
uint8_t
*
buffer
,
size_t
buffer_len
,
StunMessageIntegrityValidate
validater
,
void
*
validater_data
);
StunMessageIntegrityValidate
validater
,
void
*
validater_data
);
/**
* stun_agent_forget_transaction:
* @agent: The #StunAgent
* @id: The #StunTransactionId of the transaction to forget
*
* This function is used to make the #StunAgent forget about a previously
* created transaction. <br/>
* This function should be called when a STUN request was previously
* created with stun_agent_finish_message() and for which no response was ever
* received (timed out). The #StunAgent keeps a list of the sent transactions
* in order to validate the responses received. If the response is never received
* this will allow the #StunAgent to forget about the timed out transaction and
* free its slot for future transactions.
* Returns: %TRUE if the transaction was found, %FALSE otherwise
*/
bool
stun_agent_forget_transaction
(
StunAgent
*
agent
,
StunTransactionId
id
);
/**
/**
* stun_agent_init_request:
* stun_agent_init_request:
* @agent: The #StunAgent
* @agent: The #StunAgent
...
@@ -468,4 +450,24 @@ size_t stun_agent_build_unknown_attributes_error (StunAgent *agent,
...
@@ -468,4 +450,24 @@ size_t stun_agent_build_unknown_attributes_error (StunAgent *agent,
size_t
stun_agent_finish_message
(
StunAgent
*
agent
,
StunMessage
*
msg
,
size_t
stun_agent_finish_message
(
StunAgent
*
agent
,
StunMessage
*
msg
,
const
uint8_t
*
key
,
size_t
key_len
);
const
uint8_t
*
key
,
size_t
key_len
);
/**
* stun_agent_forget_transaction:
* @agent: The #StunAgent
* @id: The #StunTransactionId of the transaction to forget
*
* This function is used to make the #StunAgent forget about a previously
* created transaction.
* <para>
* This function should be called when a STUN request was previously
* created with stun_agent_finish_message() and for which no response was ever
* received (timed out). The #StunAgent keeps a list of the sent transactions
* in order to validate the responses received. If the response is never received
* this will allow the #StunAgent to forget about the timed out transaction and
* free its slot for future transactions.
* </para>
* Returns: %TRUE if the transaction was found, %FALSE otherwise
*/
bool
stun_agent_forget_transaction
(
StunAgent
*
agent
,
StunTransactionId
id
);
#endif
/* _STUN_AGENT_H */
#endif
/* _STUN_AGENT_H */
stun/stunmessage.h
View file @
f40bf42a
...
@@ -445,6 +445,7 @@ typedef enum
...
@@ -445,6 +445,7 @@ typedef enum
/**
/**
* STUN_MAX_MESSAGE_SIZE:
* STUN_MAX_MESSAGE_SIZE:
*
* The Maximum size of a STUN message
* The Maximum size of a STUN message
*/
*/
#define STUN_MAX_MESSAGE_SIZE 65552
#define STUN_MAX_MESSAGE_SIZE 65552
...
...
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