Changeset 256:042af0000c0a in freeDiameter for extensions/app_radgw/rgw_common.h
- Timestamp:
- Apr 16, 2010, 4:57:39 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgw_common.h
r255 r256 56 56 /* This structure points to a RADIUS client description, the definition is not known to plugins */ 57 57 struct rgw_client; 58 /* This function is required to be able to translate user paswords */ 59 int rgw_clients_getkey(struct rgw_client * cli, unsigned char **key, size_t *key_len); 58 60 59 61 /* Each plugin must provide the following structure. */ 60 62 extern struct rgw_api { 63 /* The name of the plugin */ 64 const char * rgwp_name; 65 61 66 /* Parse the configuration file. It may be called several times with different configurations. 62 Returns NULL on errors. 63 Called even if no configuration file is passed (with NULL parameter then) */ 64 struct rgwp_config * (*rgwp_conf_parse) ( char * conf_file ); 67 Called even if no configuration file is passed (with NULL conf_file parameter then) */ 68 int (*rgwp_conf_parse) ( char * conf_file, struct rgwp_config ** state ); 65 69 66 /* Cleanup the configuration state when the daemon is exiting . */67 void (*rgwp_conf_free) (struct rgwp_config * conf);70 /* Cleanup the configuration state when the daemon is exiting (called even if state is NULL). */ 71 void (*rgwp_conf_free) (struct rgwp_config * state); 68 72 69 73 /* handle an incoming RADIUS message */
Note: See TracChangeset
for help on using the changeset viewer.