* Define a structure for our module configuration.
*/
typedef struct rlm_exec_t {
- char *xlat_name;
+ const char *xlat_name;
int bare;
int wait;
char *program;
}
-static int expiration_detach(void *instance)
+static int expiration_detach(UNUSED void *instance)
{
paircompare_unregister(PW_EXPIRATION, expirecmp);
return 0;
* Define a structure for our module configuration.
*/
typedef struct rlm_expr_t {
- char *xlat_name;
+ const char *xlat_name;
char *allowed_chars;
} rlm_expr_t;
int require_strong;
int with_ntdomain_hack; /* this should be in another module */
char *passwd_file;
- char *xlat_name;
+ const char *xlat_name;
char *ntlm_auth;
char *ntlm_cpw;
char *ntlm_cpw_username;
typedef struct rlm_soh_t {
- char *xlat_name;
+ const char *xlat_name;
int dhcp;
} rlm_soh_t;