summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip-simple/evsub.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsip-simple/evsub.h')
-rw-r--r--pjsip/include/pjsip-simple/evsub.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/pjsip/include/pjsip-simple/evsub.h b/pjsip/include/pjsip-simple/evsub.h
index b0159bff..2dc4d69c 100644
--- a/pjsip/include/pjsip-simple/evsub.h
+++ b/pjsip/include/pjsip-simple/evsub.h
@@ -58,7 +58,7 @@ typedef struct pjsip_evsub pjsip_evsub;
* will be set to PJSIP_EVSUB_STATE_UNKNOWN, and the token will be kept
* in state_str member of the susbcription structure.
*/
-enum pjsip_evsub_state
+typedef enum pjsip_evsub_state
{
PJSIP_EVSUB_STATE_NULL, /**< State is NULL. */
PJSIP_EVSUB_STATE_SENT, /**< Client has sent SUBSCRIBE request. */
@@ -70,12 +70,7 @@ enum pjsip_evsub_state
PJSIP_EVSUB_STATE_UNKNOWN, /**< Subscription state can not be determined.
Application can query the state by
calling #pjsip_evsub_get_state_name().*/
-};
-
-/**
- * @see pjsip_evsub_state
- */
-typedef enum pjsip_evsub_state pjsip_evsub_state;
+} pjsip_evsub_state;
/**