extern.h revision 1.4
1/*	$NetBSD: extern.h,v 1.4 2018/01/23 21:06:25 sevan Exp $	*/
2
3extern	int		interrupted;
4extern	pr_list		printers;
5extern	pr_queue	queue;
6extern	char		sp_name[1024];
7
8void		add_printer_alias(char *, char *, char *);
9void		add_cache_entry(struct passwd *);
10int		build_pr_list(void);
11pirstat		build_pr_queue(printername, username, int, int *, int *);
12int		check_cache(char *, char *, int *, int *);
13void		free_mapreq_results(mapreq_res);
14void            fillin_extra_groups(char *, u_int, int *, u_int[]);
15#ifdef USE_YP
16char	       *find_entry(const char *, const char *);
17#endif
18void		free_pr_list_item(pr_list);
19void		free_pr_queue_item(pr_queue);
20struct passwd  *get_password(char *);
21pirstat		get_pr_status(printername, bool_t *, bool_t *, int *,
22		    bool_t *, char *, size_t);
23void	       *grab(int);
24pcrstat		pr_cancel(char *, char *, char *);
25pirstat		pr_init(char *, char *, char **);
26psrstat		pr_start(void);
27psrstat		pr_start2(char *, char *, char *, char *, char *,
28		    char **);
29void		run_ps630(char *, char *);
30void     	scramble(char *, char *);
31int		strembedded(const char *, const char *);
32FILE	       *su_popen(char *, char *, int);
33int		su_pclose(FILE *);
34#ifdef WTMP
35void		wlogin(char *, struct svc_req *);
36#endif
37