diff options
Diffstat (limited to 'pjsip/include/pjsip/sip_transport.h')
-rw-r--r-- | pjsip/include/pjsip/sip_transport.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pjsip/include/pjsip/sip_transport.h b/pjsip/include/pjsip/sip_transport.h index e09583db..002061cf 100644 --- a/pjsip/include/pjsip/sip_transport.h +++ b/pjsip/include/pjsip/sip_transport.h @@ -704,7 +704,7 @@ struct pjsip_tpfactory pj_lock_t *lock; /**< Lock object. */ pjsip_transport_type_e type; /**< Transport type. */ - char type_name[8]; /**< Type string name. */ + char *type_name; /**< Type string name. */ unsigned flag; /**< Transport flag. */ pj_sockaddr local_addr; /**< Bound address. */ @@ -722,6 +722,11 @@ struct pjsip_tpfactory int addr_len, pjsip_transport **transport); + /** + * Destroy the listener. + */ + pj_status_t (*destroy)(pjsip_tpfactory *factory); + /* * Application may extend this structure.. */ |