Navigation



Ignore:
Timestamp:
Dec 20, 2010, 1:07:06 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added new opaque pointer to fd_sess_handler_create and fd_disp_register for usability. Bumped API version number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_echodrop.c

    r403 r639  
    3939
    4040/* If a session is destroyed, empty the list of ed_saved_attribute */
    41 static void state_delete(void * arg, char * sid) {
     41static void state_delete(void * arg, char * sid, void * opaque) {
    4242        struct fd_list * list = (struct fd_list *)arg;
    4343       
     
    6969       
    7070        /* Create the session handler */
    71         CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, state_delete ) );
     71        CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, state_delete, NULL ) );
    7272       
    7373        /* Parse the configuration file */
     
    107107        TRACE_ENTRY("%p", state);
    108108        CHECK_PARAMS_DO( state, return );
    109         CHECK_FCT_DO( fd_sess_handler_destroy( &state->sess_hdl ),  );
     109        CHECK_FCT_DO( fd_sess_handler_destroy( &state->sess_hdl, NULL ),  );
    110110        while (! FD_IS_LIST_EMPTY(&state->attributes) ) {
    111111                struct fd_list * li = state->attributes.next;
Note: See TracChangeset for help on using the changeset viewer.