Navigation


Changeset 1088:1d1a20a0779d in freeDiameter for extensions/app_radgw/rgwx_acct.c


Ignore:
Timestamp:
May 5, 2013, 4:25:27 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Second part of changeset 1083, now the code compiles again. Still missing some functions implementation, though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_acct.c

    r1027 r1088  
    160160};
    161161
     162static DECLARE_FD_DUMP_PROTOTYPE(acct_conf_session_state_dump, struct sess_state * st)
     163{
     164        return fd_dump_extend( FD_DUMP_STD_PARAMS, "[rgwx sess_state](@%p): aai:%x str:%d TC:%u", st, st->auth_appl, st->send_str, st->term_cause);
     165}
     166
    162167/* Initialize the plugin */
    163168static int acct_conf_parse(char * conffile, struct rgwp_config ** state)
     
    172177        memset(new, 0, sizeof(struct rgwp_config));
    173178       
    174         CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, free, NULL ) );
     179        CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, (void *)free, acct_conf_session_state_dump, NULL ) );
    175180        new->confstr = conffile;
    176181       
Note: See TracChangeset for help on using the changeset viewer.