Commit 978ed9da authored by Dafydd Harries's avatar Dafydd Harries

make type<->typedef name mapping more consistent (makes gtk-doc happier)

darcs-hash:20070131230744-c9803-46332f2b3e13f2a0f798a61d913f734e5ca57f8e.gz
parent 294e6077
......@@ -4,18 +4,18 @@
G_BEGIN_DECLS
typedef enum address_type NiceAddressType;
typedef enum _NiceAddressType NiceAddressType;
enum address_type
enum _NiceAddressType
{
NICE_ADDRESS_TYPE_IPV4,
NICE_ADDRESS_TYPE_IPV6,
};
typedef struct _address NiceAddress;
typedef struct _NiceAddress NiceAddress;
/* XXX: need access to fields to convert to sockaddr_in */
struct _address
struct _NiceAddress
{
NiceAddressType type;
union
......
......@@ -22,9 +22,9 @@
* would end up with 2*K host candidates if an agent has K interfaces.
*/
typedef enum component_type ComponentType;
typedef enum _ComponentType ComponentType;
enum component_type
enum _ComponentType
{
COMPONENT_TYPE_RTP,
COMPONENT_TYPE_RTCP,
......
......@@ -15,9 +15,9 @@ G_BEGIN_DECLS
/*** event ***/
typedef enum event_type EventType;
typedef enum _EventType EventType;
enum event_type
enum _EventType
{
EVENT_CANDIDATE_SELECTED,
};
......
......@@ -4,9 +4,9 @@
G_BEGIN_DECLS
typedef enum candidate_type NiceCandidateType;
typedef enum _NiceCandidateType NiceCandidateType;
enum candidate_type
enum _NiceCandidateType
{
NICE_CANDIDATE_TYPE_HOST,
NICE_CANDIDATE_TYPE_SERVER_REFLEXIVE,
......@@ -15,9 +15,9 @@ enum candidate_type
};
typedef struct _candidate NiceCandidate;
typedef struct _NiceCandidate NiceCandidate;
struct _candidate
struct _NiceCandidate
{
NiceCandidateType type;
guint id;
......
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