Lines Matching refs:wordlist
154 /* Wordlist giving addresses which the peer may use
156 static struct wordlist *noauth_addrs;
161 /* Wordlist giving remote telephone numbers which may connect. */
162 static struct wordlist *permitted_numbers;
165 static struct wordlist *extra_options;
207 int (*null_auth_hook)(struct wordlist **paddrs,
208 struct wordlist **popts) = NULL;
296 struct wordlist ** addrs,
297 struct wordlist ** opts,
303 struct wordlist **, struct wordlist **,
305 static void free_wordlist (struct wordlist *);
308 static void set_allowed_addrs (int, struct wordlist *, struct wordlist *);
309 static int some_ip_ok (struct wordlist *);
315 static int wordlist_count (struct wordlist *);
610 struct wordlist *wp;
612 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l);
631 struct wordlist *wp;
633 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l);
1519 struct wordlist *addrs = NULL, *opts = NULL;
1643 struct wordlist *addrs, *opts;
1732 struct wordlist *addrs;
1774 struct wordlist *addrs;
1819 struct wordlist *addrs;
1857 struct wordlist *addrs, *opts;
1918 struct wordlist *addrs, *opts;
1957 set_allowed_addrs(int unit, struct wordlist *addrs,
1958 struct wordlist *opts)
1961 struct wordlist *ap, **plink;
2155 * some_ip_ok - check a wordlist to see if it authorizes any
2159 some_ip_ok(struct wordlist *addrs)
2177 struct wordlist *wp = permitted_numbers;
2223 * info) are placed in a wordlist and returned in *addrs. Any
2224 * following words (extra options) are placed in a wordlist and
2232 char *secret, struct wordlist **addrs,
2233 struct wordlist **opts, char *filename,
2239 struct wordlist *ap, *addr_list, *alist, **app;
2332 * Now read address authorization info and make a wordlist.
2340 ap = (struct wordlist *)malloc(sizeof(struct wordlist) + len);
2387 * wordlist_count - return the number of items in a wordlist
2390 wordlist_count(struct wordlist *wp)
2400 * free_wordlist - release memory allocated for a wordlist.
2403 free_wordlist(struct wordlist *wp)
2405 struct wordlist *next;
2480 struct wordlist *addrs;
2527 struct wordlist *addrs = NULL;
2570 char *pk, struct wordlist **addrs,
2571 struct wordlist **opts,
2576 struct wordlist *ap, *addr_list, *alist, **app;
2671 * Now read address authorization info and make a wordlist.
2677 ap = (struct wordlist *)
2678 malloc(sizeof(struct wordlist) + strlen(word) + 1);
2730 struct wordlist *addrs = NULL;
2731 struct wordlist *opts = NULL;