4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
26 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
27 /* All Rights Reserved */
38 extern void setup_PCpipe();
41 extern int auto_termio();
42 extern char *autobaud();
45 extern void write_prompt();
46 extern void timedout();
49 extern void ttymon_express();
52 extern void do_poll();
53 extern void sigterm();
54 extern void sigchild();
55 extern void state_change();
56 extern void re_read();
57 extern void got_carrier();
60 extern int tm_checklock();
64 extern void log(const char *, ...);
65 extern void fatal(const char *, ...);
66 extern void openttymonlog(void);
69 extern char *getword();
73 extern int poll_data();
76 extern void read_pmtab();
80 extern void openpid();
81 extern void openpipes();
82 extern void get_environ();
83 extern void sacpoll();
86 extern void catch_signals();
87 extern void child_sigcatch();
90 extern int push_linedisc();
91 extern int set_termio();
92 extern int initial_termio();
93 extern int hang_up_line();
94 extern void flush_input();
97 extern void read_ttydefs();
98 extern struct Gdef
*find_def();
99 extern char *getword();
100 extern void mkargv();
103 extern int account();
104 extern void cleanut();
107 extern int check_device();
108 extern int check_cmd();
109 extern void cons_printf(const char *, ...);
111 /* misc sys call or lib function call */
112 extern int check_version();
117 extern void sys_name();
122 extern struct pmtab
*PMtab
;
127 extern struct Gdef Gdef
[];
139 extern int Reread_flag
;
144 extern char **environ
;
146 extern int optind
, opterr
;
150 extern sigset_t Origmask
;
151 extern struct sigaction Sigalrm
; /* SIGALRM */
152 extern struct sigaction Sigcld
; /* SIGCLD */
153 extern struct sigaction Sigint
; /* SIGINT */
154 extern struct sigaction Sigpoll
; /* SIGPOLL */
155 extern struct sigaction Sigquit
; /* SIGQUIT */
156 extern struct sigaction Sigterm
; /* SIGTERM */
158 extern struct sigaction Sigusr1
; /* SIGUSR1 */
159 extern struct sigaction Sigusr2
; /* SIGUSR2 */
163 extern FILE *Debugfp
;
164 extern void debug(const char *, ...);
167 extern uid_t Uucp_uid
;
168 extern gid_t Tty_gid
;
169 extern struct strbuf
*peek_ptr
;
178 #endif /* _TMEXTERN_H */