Commit 4d5a5fec authored by Youness Alaoui's avatar Youness Alaoui

Change the struct/typedef lines into a single combo

parent 4710bc5e
...@@ -41,9 +41,7 @@ ...@@ -41,9 +41,7 @@
#include "stream.h" #include "stream.h"
#include "agent.h" #include "agent.h"
typedef struct _CandidateDiscovery CandidateDiscovery; typedef struct
struct _CandidateDiscovery
{ {
NiceAgent *agent; /**< back pointer to owner */ NiceAgent *agent; /**< back pointer to owner */
NiceCandidateType type; /**< candidate type STUN or TURN */ NiceCandidateType type; /**< candidate type STUN or TURN */
...@@ -62,7 +60,7 @@ struct _CandidateDiscovery ...@@ -62,7 +60,7 @@ struct _CandidateDiscovery
StunMessage stun_message; StunMessage stun_message;
uint8_t stun_resp_buffer[STUN_MAX_MESSAGE_SIZE]; uint8_t stun_resp_buffer[STUN_MAX_MESSAGE_SIZE];
StunMessage stun_resp_msg; StunMessage stun_resp_msg;
}; } CandidateDiscovery;
void discovery_free_item (gpointer data, gpointer user_data); void discovery_free_item (gpointer data, gpointer user_data);
void discovery_free (NiceAgent *agent); void discovery_free (NiceAgent *agent);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment