Mercurial > hg > freeDiameter
comparison extensions/app_radgw/rgwx_sample.c @ 377:7c0ddec9ab42
Added comment about sessions
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 05 Jul 2010 14:36:50 +0900 |
parents | e203fc0c95e3 |
children | 4a9f08d6b6ba |
comparison
equal
deleted
inserted
replaced
376:ea6823f46fe8 | 377:7c0ddec9ab42 |
---|---|
39 | 39 |
40 /* The state of this extension */ | 40 /* The state of this extension */ |
41 struct rgwp_config { | 41 struct rgwp_config { |
42 /* In a real extension, we would store the parsed configuration file, and the states of the extension */ | 42 /* In a real extension, we would store the parsed configuration file, and the states of the extension */ |
43 int init; | 43 int init; |
44 | |
45 /* If needed to store information between sent Diameter request and received answer, the session is probably the best place. | |
46 See rgwx_echodrop for an example. */ | |
44 }; | 47 }; |
45 | 48 |
46 /* The function called at plugin initialization */ | 49 /* The function called at plugin initialization */ |
47 static int sample_conf_parse ( char * conf_file, struct rgwp_config ** state ) | 50 static int sample_conf_parse ( char * conf_file, struct rgwp_config ** state ) |
48 { | 51 { |