Deleted Added
full compact
extern.h (50476) extern.h (56668)
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.2 (Berkeley) 4/4/94
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.2 (Berkeley) 4/4/94
34 * $FreeBSD: head/libexec/ftpd/extern.h 50476 1999-08-28 00:22:10Z peter $
34 * $FreeBSD: head/libexec/ftpd/extern.h 56668 2000-01-27 09:28:38Z shin $
35 */
36
37void blkfree __P((char **));
38char **copyblk __P((char **));
39void cwd __P((char *));
40void delete __P((char *));
41void dologout __P((int));
42void fatal __P((char *));
43void ftpd_logwtmp __P((char *, char *, char *));
44int ftpd_pclose __P((FILE *));
45FILE *ftpd_popen __P((char *, char *));
46char *getline __P((char *, int, FILE *));
47void lreply __P((int, const char *, ...));
48void makedir __P((char *));
49void nack __P((char *));
50void pass __P((char *));
51void passive __P((void));
35 */
36
37void blkfree __P((char **));
38char **copyblk __P((char **));
39void cwd __P((char *));
40void delete __P((char *));
41void dologout __P((int));
42void fatal __P((char *));
43void ftpd_logwtmp __P((char *, char *, char *));
44int ftpd_pclose __P((FILE *));
45FILE *ftpd_popen __P((char *, char *));
46char *getline __P((char *, int, FILE *));
47void lreply __P((int, const char *, ...));
48void makedir __P((char *));
49void nack __P((char *));
50void pass __P((char *));
51void passive __P((void));
52void long_passive __P((char *, int));
52void perror_reply __P((int, char *));
53void pwd __P((void));
54void removedir __P((char *));
55void renamecmd __P((char *, char *));
56char *renamefrom __P((char *));
57void reply __P((int, const char *, ...));
58void retrieve __P((char *, char *));
59void send_file_list __P((char *));

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

66void upper __P((char *));
67void user __P((char *));
68void yyerror __P((char *));
69int yyparse __P((void));
70#if defined(SKEY) && defined(_PWD_H_) /* XXX evil */
71char *skey_challenge __P((char *, struct passwd *, int));
72#endif
73int ls_main __P((int, char **));
53void perror_reply __P((int, char *));
54void pwd __P((void));
55void removedir __P((char *));
56void renamecmd __P((char *, char *));
57char *renamefrom __P((char *));
58void reply __P((int, const char *, ...));
59void retrieve __P((char *, char *));
60void send_file_list __P((char *));

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

67void upper __P((char *));
68void user __P((char *));
69void yyerror __P((char *));
70int yyparse __P((void));
71#if defined(SKEY) && defined(_PWD_H_) /* XXX evil */
72char *skey_challenge __P((char *, struct passwd *, int));
73#endif
74int ls_main __P((int, char **));
75
76struct sockaddr_in;
77struct sockaddr_in6;
78union sockunion {
79 struct sockinet {
80 u_char si_len;
81 u_char si_family;
82 u_short si_port;
83 } su_si;
84 struct sockaddr_in su_sin;
85 struct sockaddr_in6 su_sin6;
86};
87#define su_len su_si.si_len
88#define su_family su_si.si_family
89#define su_port su_si.si_port