Lines Matching refs:opts
1346 struct wordlist *addrs = NULL, *opts = NULL;
1364 ret = (*pap_auth_hook)(user, passwd, msg, &addrs, &opts);
1366 /* note: set_allowed_addrs() saves opts (but not addrs):
1369 set_allowed_addrs(unit, addrs, opts);
1370 else if (opts != 0)
1371 free_wordlist(opts);
1384 addrs = opts = NULL;
1392 if (scan_authfile(f, user, our_name, secret, &addrs, &opts, filename, 0) < 0) {
1431 if (opts != NULL)
1432 free_wordlist(opts);
1438 set_allowed_addrs(unit, addrs, opts);
1693 struct wordlist *addrs, *opts;
1701 ret = (*null_auth_hook)(&addrs, &opts);
1714 i = scan_authfile(f, "", our_name, secret, &addrs, &opts, filename, 0);
1721 set_allowed_addrs(unit, addrs, opts);
1722 else if (opts != 0)
1723 free_wordlist(opts);
1921 struct wordlist *addrs, *opts;
1944 ret = scan_authfile(f, client, server, secbuf, &addrs, &opts, filename, 0);
1950 set_allowed_addrs(unit, addrs, opts);
1951 else if (opts != 0)
1952 free_wordlist(opts);
1986 struct wordlist *addrs, *opts;
2002 ret = scan_authfile(fp, client, server, secret, &addrs, &opts,
2009 set_allowed_addrs(unit, addrs, opts);
2010 else if (opts != NULL)
2011 free_wordlist(opts);
2025 set_allowed_addrs(unit, addrs, opts)
2028 struct wordlist *opts;
2045 extra_options = opts;
2304 * returned in *opts.
2310 scan_authfile(f, client, server, secret, addrs, opts, filename, flags)
2316 struct wordlist **opts;
2331 if (opts != NULL)
2332 *opts = NULL;
2457 if (opts != NULL)
2458 *opts = ap;