Lines Matching defs:dialog
49 #define SIP_DLG_REFCNT_INCR(dialog) \
50 (dialog)->sip_dlg_ref_cnt++;
52 #define SIP_DLG_REFCNT_DECR(dialog) { \
53 (void) pthread_mutex_lock(&((dialog)->sip_dlg_mutex)); \
54 assert((dialog)->sip_dlg_ref_cnt > 0); \
55 (dialog)->sip_dlg_ref_cnt--; \
56 if ((dialog)->sip_dlg_ref_cnt == 0 && \
57 (dialog)->sip_dlg_state == SIP_DLG_DESTROYED) { \
58 (void) pthread_mutex_unlock(&((dialog)->sip_dlg_mutex)); \
59 sip_dialog_delete(dialog); \
61 (void) pthread_mutex_unlock(&((dialog)->sip_dlg_mutex));\
65 /* The dialog structure */