summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsip/sip_transport.h')
-rw-r--r--pjsip/include/pjsip/sip_transport.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/pjsip/include/pjsip/sip_transport.h b/pjsip/include/pjsip/sip_transport.h
index 4ff3597c..eb9e4dbc 100644
--- a/pjsip/include/pjsip/sip_transport.h
+++ b/pjsip/include/pjsip/sip_transport.h
@@ -1388,9 +1388,15 @@ typedef enum pjsip_transport_state
PJSIP_TP_STATE_CONNECTED, /**< Transport connected, applicable only
to connection-oriented transports
such as TCP and TLS. */
- PJSIP_TP_STATE_DISCONNECTED /**< Transport disconnected, applicable
+ PJSIP_TP_STATE_DISCONNECTED, /**< Transport disconnected, applicable
only to connection-oriented
transports such as TCP and TLS. */
+ PJSIP_TP_STATE_SHUTDOWN, /**< Transport shutdown, either
+ due to TCP/TLS disconnect error
+ from the network, or when shutdown
+ is initiated by PJSIP itself. */
+ PJSIP_TP_STATE_DESTROY, /**< Transport destroy, when transport
+ is about to be destroyed. */
} pjsip_transport_state;