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