Navigation


Changeset 996:cf09fde3d7f5 in freeDiameter for extensions/app_radgw/rgw_common.h


Ignore:
Timestamp:
Mar 20, 2013, 12:13:14 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Children:
997:632913581c37, 998:ad6c1ee04d2d
Phase:
public
Message:

Fix management of sessions in app_radgw: sessions are simply associated with messages, that is sufficient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgw_common.h

    r740 r996  
    7474
    7575        /* handle an incoming RADIUS message */
    76         int     (*rgwp_rad_req) ( struct rgwp_config * conf, struct session ** session, struct radius_msg * rad_req, struct radius_msg ** rad_ans, struct msg ** diam_fw, struct rgw_client * cli );
     76        int     (*rgwp_rad_req) ( struct rgwp_config * conf, struct radius_msg * rad_req, struct radius_msg ** rad_ans, struct msg ** diam_fw, struct rgw_client * cli );
    7777        /* ret >0: critical error (errno), log and exit.
    7878           ret 0: continue;
     
    8282       
    8383        /* handle the corresponding Diameter answer */
    84         int     (*rgwp_diam_ans) ( struct rgwp_config * conf, struct session * session, struct msg ** diam_ans, struct radius_msg ** rad_fw, struct rgw_client * cli, int * stateful );
     84        int     (*rgwp_diam_ans) ( struct rgwp_config * conf, struct msg ** diam_ans, struct radius_msg ** rad_fw, struct rgw_client * cli );
    8585        /* ret 0: continue; ret >0: error; ret: -1 ... (tbd) */
    86         /* if *stateful = 1 on return, the session will not be destroyed after RADIUS answer is sent. The extension must ensure to register a timeout on the session in this case. */
    8786       
    8887} rgwp_descriptor;
Note: See TracChangeset for help on using the changeset viewer.