Changeset 356:e203fc0c95e3 in freeDiameter for extensions/app_radgw/rgw_common.h
- Timestamp:
- Jul 1, 2010, 3:47:34 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgw_common.h
r333 r356 72 72 73 73 /* handle an incoming RADIUS message */ 74 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 ); 75 /* ret 0: continue; 74 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 ); 75 /* ret >0: critical error (errno), log and exit. 76 ret 0: continue; 76 77 ret -1: stop processing this message 77 78 ret -2: reply the content of rad_ans to the RADIUS client immediatly 78 ret >0: critical error (errno), log and exit.79 79 */ 80 80 81 81 /* handle the corresponding Diameter answer */ 82 int (*rgwp_diam_ans) ( struct rgwp_config * conf, struct session * session, struct msg ** diam_ans, struct radius_msg ** rad_fw, struct rgw_client * cli );82 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 ); 83 83 /* ret 0: continue; ret >0: error; ret: -1 ... (tbd) */ 84 84 /* 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. */ 85 85 86 } rgwp_descriptor; 86 87
Note: See TracChangeset
for help on using the changeset viewer.