Changeset 112 for pjproject


Ignore:
Timestamp:
Jan 7, 2006 11:02:22 PM (19 years ago)
Author:
bennylp
Message:

Added prev_state in tsx_state event

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_event.h

    r65 r112  
    123123            } src; 
    124124            pjsip_transaction   *tsx;   /**< The transaction.           */ 
    125             pjsip_event_id_e    type;   /**< Type of event source:       
     125            int                  prev_state; /**< Previous state.       */ 
     126            pjsip_event_id_e     type;  /**< Type of event source:       
    126127                                         *      - PJSIP_EVENT_TX_MSG 
    127128                                         *      - PJSIP_EVENT_RX_MSG, 
     
    205206 * Init tsx state event. 
    206207 */ 
    207 #define PJSIP_EVENT_INIT_TSX_STATE(event,ptsx,ptype,pdata)   \ 
     208#define PJSIP_EVENT_INIT_TSX_STATE(event,ptsx,ptype,pdata,prev)   \ 
    208209        do { \ 
    209210            (event).type = PJSIP_EVENT_TSX_STATE;           \ 
     
    211212            (event).body.tsx_state.type = ptype;            \ 
    212213            (event).body.tsx_state.src.data = pdata;        \ 
     214            (event).body.tsx_state.prev_state = prev;       \ 
    213215        } while (0) 
    214216 
Note: See TracChangeset for help on using the changeset viewer.