* start of main routines
***********************************************************************/
-static int rlm_sql_init(int argc, char **argv) {
+static int rlm_sql_init(void) {
/* Where is the flag that tells us about a HUP?*/
int reload = 0;
return 0;
}
-static int rlm_sql_detach(void) {
+static int rlm_sql_destroy(void) {
return 0;
}
"SQL",
0, /* type: reserved */
rlm_sql_init, /* initialization */
+ NULL, /* instantiation */
rlm_sql_authorize, /* authorization */
rlm_sql_authenticate, /* authentication */
NULL, /* preaccounting */
rlm_sql_accounting, /* accounting */
- rlm_sql_detach, /* detach */
+ NULL, /* detach */
+ rlm_sql_destroy, /* destroy */
};