Commit 7930ceb6 authored by Dafydd Harries's avatar Dafydd Harries

make declarations of private enums consistent in style with public ones

darcs-hash:20070212192620-c9803-4b373183bad82f8bce4df4c71d3bec6ed375e02f.gz
parent 19584483
......@@ -21,13 +21,11 @@
* would end up with 2*K host candidates if an agent has K interfaces.
*/
typedef enum _ComponentType ComponentType;
enum _ComponentType
typedef enum
{
COMPONENT_TYPE_RTP,
COMPONENT_TYPE_RTCP,
};
} ComponentType;
typedef struct _Component Component;
......@@ -107,26 +105,22 @@ struct _CandidatePair
};
typedef enum check_state CheckState;
/* ICE-13 §5.7 (p24) */
enum check_state
typedef enum
{
CHECK_STATE_WAITING,
CHECK_STATE_IN_PROGRESS,
CHECK_STATE_SUCCEEDED,
CHECK_STATE_FAILED,
CHECK_STATE_FROZEN,
};
} CheckState;
typedef enum check_list_state CheckListState;
enum check_list_state
typedef enum
{
CHECK_LIST_STATE_RUNNING,
CHECK_LIST_STATE_COMPLETED,
};
} CheckListState;
#if 0
......
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