Deleted Added
full compact
extern.h (32189) extern.h (74769)
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)extern.h 8.1 (Berkeley) 6/6/93
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)extern.h 8.1 (Berkeley) 6/6/93
34 *
35 * $FreeBSD: head/usr.bin/mail/extern.h 74769 2001-03-25 04:57:05Z mikeh $
34 */
35
36struct name *cat __P((struct name *, struct name *));
37struct name *delname __P((struct name *, char []));
38struct name *elide __P((struct name *));
39struct name *extract __P((char [], int));
40struct name *gexpand __P((struct name *, struct grouphead *, int, int));
41struct name *nalloc __P((char [], int));
42struct name *outof __P((struct name *, FILE *, struct header *));
43struct name *put __P((struct name *, struct name *));
44struct name *tailof __P((struct name *));
45struct name *usermap __P((struct name *));
46FILE *Fdopen __P((int, char *));
47FILE *Fopen __P((char *, char *));
48FILE *Popen __P((char *, char *));
49FILE *collect __P((struct header *, int));
36 */
37
38struct name *cat __P((struct name *, struct name *));
39struct name *delname __P((struct name *, char []));
40struct name *elide __P((struct name *));
41struct name *extract __P((char [], int));
42struct name *gexpand __P((struct name *, struct grouphead *, int, int));
43struct name *nalloc __P((char [], int));
44struct name *outof __P((struct name *, FILE *, struct header *));
45struct name *put __P((struct name *, struct name *));
46struct name *tailof __P((struct name *));
47struct name *usermap __P((struct name *));
48FILE *Fdopen __P((int, char *));
49FILE *Fopen __P((char *, char *));
50FILE *Popen __P((char *, char *));
51FILE *collect __P((struct header *, int));
50char *copy __P((char *, char *));
51char *copyin __P((char *, char **));
52char *detract __P((struct name *, int));
53char *expand __P((char *));
54char *getdeadletter __P((void));
55char *getname __P((int));
56char *hfield __P((char [], struct message *));
57FILE *infix __P((struct header *, FILE *));
58char *ishfield __P((char [], char[], char *));

--- 18 unchanged lines hidden (view full) ---

77int Pclose __P((FILE *));
78int Respond __P((int *));
79int Type __P((int *));
80int doRespond __P((int []));
81int dorespond __P((int *));
82void alter __P((char *));
83int alternates __P((char **));
84void announce __P((void));
52char *copyin __P((char *, char **));
53char *detract __P((struct name *, int));
54char *expand __P((char *));
55char *getdeadletter __P((void));
56char *getname __P((int));
57char *hfield __P((char [], struct message *));
58FILE *infix __P((struct header *, FILE *));
59char *ishfield __P((char [], char[], char *));

--- 18 unchanged lines hidden (view full) ---

78int Pclose __P((FILE *));
79int Respond __P((int *));
80int Type __P((int *));
81int doRespond __P((int []));
82int dorespond __P((int *));
83void alter __P((char *));
84int alternates __P((char **));
85void announce __P((void));
85int anyof __P((char *, char *));
86int append __P((struct message *, FILE *));
87int argcount __P((char **));
88void assign __P((char [], char []));
86int append __P((struct message *, FILE *));
87int argcount __P((char **));
88void assign __P((char [], char []));
89int bangexp __P((char *));
90int blankline __P((char []));
89int bangexp __P((char *, size_t));
91void brokpipe __P((int));
92int charcount __P((char *, int));
93int check __P((int, int));
94void clob1 __P((int));
95int clobber __P((char **));
96void close_all_files __P((void));
97int cmatch __P((char *, char *));
98void collhup __P((int));

--- 17 unchanged lines hidden (view full) ---

116int endifcmd __P((void));
117int evalcol __P((int));
118int execute __P((char [], int));
119int exwrite __P((char [], FILE *, int));
120void fail __P((char [], char []));
121int file __P((char **));
122struct grouphead *
123 findgroup __P((char []));
90void brokpipe __P((int));
91int charcount __P((char *, int));
92int check __P((int, int));
93void clob1 __P((int));
94int clobber __P((char **));
95void close_all_files __P((void));
96int cmatch __P((char *, char *));
97void collhup __P((int));

--- 17 unchanged lines hidden (view full) ---

115int endifcmd __P((void));
116int evalcol __P((int));
117int execute __P((char [], int));
118int exwrite __P((char [], FILE *, int));
119void fail __P((char [], char []));
120int file __P((char **));
121struct grouphead *
122 findgroup __P((char []));
124void findmail __P((char *, char *));
123void findmail __P((char *, char *, int));
125int first __P((int, int));
126void fixhead __P((struct header *, struct name *));
127void fmt __P((char *, struct name *, FILE *, int));
128int folders __P((void));
124int first __P((int, int));
125void fixhead __P((struct header *, struct name *));
126void fmt __P((char *, struct name *, FILE *, int));
127int folders __P((void));
129int forward __P((char [], FILE *, int));
128int forward __P((char [], FILE *, char *, int));
130void free_child __P((int));
131int from __P((int *));
132off_t fsize __P((FILE *));
129void free_child __P((int));
130int from __P((int *));
131off_t fsize __P((FILE *));
133int getfold __P((char *));
132int getfold __P((char *, int));
134int gethfield __P((FILE *, char [], int, char **));
135int getmsglist __P((char *, int *, int));
136int getrawlist __P((char [], char **, int));
137int getuserid __P((char []));
138int grabh __P((struct header *, int));
139int group __P((char **));
140void hangup __P((int));
141int hash __P((char *));

--- 8 unchanged lines hidden (view full) ---

150int igshow __P((struct ignoretab *, char *));
151void intr __P((int));
152int isdate __P((char []));
153int isdir __P((char []));
154int isfileaddr __P((char *));
155int ishead __P((char []));
156int isign __P((char *, struct ignoretab []));
157int isprefix __P((char *, char *));
133int gethfield __P((FILE *, char [], int, char **));
134int getmsglist __P((char *, int *, int));
135int getrawlist __P((char [], char **, int));
136int getuserid __P((char []));
137int grabh __P((struct header *, int));
138int group __P((char **));
139void hangup __P((int));
140int hash __P((char *));

--- 8 unchanged lines hidden (view full) ---

149int igshow __P((struct ignoretab *, char *));
150void intr __P((int));
151int isdate __P((char []));
152int isdir __P((char []));
153int isfileaddr __P((char *));
154int ishead __P((char []));
155int isign __P((char *, struct ignoretab []));
156int isprefix __P((char *, char *));
158void istrcpy __P((char *, char *));
157void istrncpy __P((char *, char *, size_t));
159struct cmd *
160 lex __P((char []));
161void load __P((char *));
162struct var *
163 lookup __P((char []));
164int mail __P((struct name *,
165 struct name *, struct name *, struct name *, char *, char *));
166void mail1 __P((struct header *, int));

--- 7 unchanged lines hidden (view full) ---

174void mesedit __P((FILE *, int));
175void mespipe __P((FILE *, char []));
176int messize __P((int *));
177int metamess __P((int, int));
178int more __P((int *));
179int newfileinfo __P((void));
180int next __P((int *));
181int null __P((int));
158struct cmd *
159 lex __P((char []));
160void load __P((char *));
161struct var *
162 lookup __P((char []));
163int mail __P((struct name *,
164 struct name *, struct name *, struct name *, char *, char *));
165void mail1 __P((struct header *, int));

--- 7 unchanged lines hidden (view full) ---

173void mesedit __P((FILE *, int));
174void mespipe __P((FILE *, char []));
175int messize __P((int *));
176int metamess __P((int, int));
177int more __P((int *));
178int newfileinfo __P((void));
179int next __P((int *));
180int null __P((int));
182void panic __P((const char *, ...));
183void parse __P((char [], struct headline *, char []));
184int pcmdlist __P((void));
185int pdot __P((void));
186void prepare_child __P((int, int, int));
187int preserve __P((int *));
188void prettyprint __P((struct name *));
189void printgroup __P((char []));
190void printhead __P((int));
191int puthead __P((struct header *, FILE *, int));
192int putline __P((FILE *, char *));
193int pversion __P((int));
194void quit __P((void));
195int quitcmd __P((void));
181void parse __P((char [], struct headline *, char []));
182int pcmdlist __P((void));
183int pdot __P((void));
184void prepare_child __P((int, int, int));
185int preserve __P((int *));
186void prettyprint __P((struct name *));
187void printgroup __P((char []));
188void printhead __P((int));
189int puthead __P((struct header *, FILE *, int));
190int putline __P((FILE *, char *));
191int pversion __P((int));
192void quit __P((void));
193int quitcmd __P((void));
196int raise __P((int));
197int readline __P((FILE *, char *, int));
198void register_file __P((FILE *, int, int));
199void regret __P((int));
200void relsesigs __P((void));
201int respond __P((int *));
202int retfield __P((char *[]));
203int rexit __P((int));
204int rm __P((char *));

--- 4 unchanged lines hidden (view full) ---

209int saveigfield __P((char *[]));
210int savemail __P((char [], FILE *));
211int saveretfield __P((char *[]));
212int scan __P((char **));
213void scaninit __P((void));
214int schdir __P((char **));
215int screensize __P((void));
216int scroll __P((char []));
194int readline __P((FILE *, char *, int));
195void register_file __P((FILE *, int, int));
196void regret __P((int));
197void relsesigs __P((void));
198int respond __P((int *));
199int retfield __P((char *[]));
200int rexit __P((int));
201int rm __P((char *));

--- 4 unchanged lines hidden (view full) ---

206int saveigfield __P((char *[]));
207int savemail __P((char [], FILE *));
208int saveretfield __P((char *[]));
209int scan __P((char **));
210void scaninit __P((void));
211int schdir __P((char **));
212int screensize __P((void));
213int scroll __P((char []));
217int send __P((struct message *, FILE *, struct ignoretab *, char *));
214int sendmessage __P((struct message *, FILE *, struct ignoretab *, char *));
218int sendmail __P((char *));
219int set __P((char **));
220int setfile __P((char *));
221void setmsize __P((int));
222void setptr __P((FILE *));
223void setscreensize __P((void));
224int shell __P((char *));
225void sigchild __P((int));

--- 20 unchanged lines hidden (view full) ---

246void unregister_file __P((FILE *));
247int unset __P((char **));
248int unstack __P((void));
249void vfree __P((char *));
250int visual __P((int *));
251int wait_child __P((int));
252int wait_command __P((int));
253int writeback __P((FILE *));
215int sendmail __P((char *));
216int set __P((char **));
217int setfile __P((char *));
218void setmsize __P((int));
219void setptr __P((FILE *));
220void setscreensize __P((void));
221int shell __P((char *));
222void sigchild __P((int));

--- 20 unchanged lines hidden (view full) ---

243void unregister_file __P((FILE *));
244int unset __P((char **));
245int unstack __P((void));
246void vfree __P((char *));
247int visual __P((int *));
248int wait_child __P((int));
249int wait_command __P((int));
250int writeback __P((FILE *));
251
252extern char *__progname;
253extern char *tmpdir;