Deleted Added
full compact
faithd.h (62655) faithd.h (78064)
1/* $KAME: faithd.h,v 1.2 2000/05/31 03:06:07 itojun Exp $ */
1/* $KAME: faithd.h,v 1.6 2000/10/05 22:20:37 itojun Exp $ */
2
3/*
4 * Copyright (C) 1997 and 1998 WIDE Project.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

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

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
2
3/*
4 * Copyright (C) 1997 and 1998 WIDE Project.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

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

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * $FreeBSD: head/usr.sbin/faithd/faithd.h 62655 2000-07-05 21:54:07Z kris $
31 * $FreeBSD: head/usr.sbin/faithd/faithd.h 78064 2001-06-11 12:39:29Z ume $
32 */
33
34extern char logname[];
35extern int dflag;
36
37extern void tcp_relay __P((int, int, const char *));
38extern void ftp_relay __P((int, int));
39extern int ftp_active __P((int, int, int *, int *));
40extern int ftp_passive __P((int, int, int *, int *));
41extern void rsh_relay __P((int, int));
42extern void rsh_dual_relay __P((int, int));
32 */
33
34extern char logname[];
35extern int dflag;
36
37extern void tcp_relay __P((int, int, const char *));
38extern void ftp_relay __P((int, int));
39extern int ftp_active __P((int, int, int *, int *));
40extern int ftp_passive __P((int, int, int *, int *));
41extern void rsh_relay __P((int, int));
42extern void rsh_dual_relay __P((int, int));
43extern void exit_error __P((const char *fmt, ...));
44extern void exit_success __P((const char *fmt, ...));
45extern void exit_failure __P((const char *fmt, ...));
43extern void exit_success __P((const char *, ...))
44 __attribute__((__format__(__printf__, 1, 2)));
45extern void exit_failure __P((const char *, ...))
46 __attribute__((__format__(__printf__, 1, 2)));
46
47#define DEFAULT_PORT_NAME "telnet"
47
48#define DEFAULT_PORT_NAME "telnet"
48#define DEFAULT_DIR "/usr/local/v6/libexec"
49#define DEFAULT_DIR "/usr/libexec"
49#define DEFAULT_NAME "telnetd"
50#define DEFAULT_PATH (DEFAULT_DIR "/" DEFAULT_NAME)
51
52#define FTP_PORT 21
53#define RLOGIN_PORT 513
54#define RSH_PORT 514
55
56#define RETURN_SUCCESS 0

--- 17 unchanged lines hidden ---
50#define DEFAULT_NAME "telnetd"
51#define DEFAULT_PATH (DEFAULT_DIR "/" DEFAULT_NAME)
52
53#define FTP_PORT 21
54#define RLOGIN_PORT 513
55#define RSH_PORT 514
56
57#define RETURN_SUCCESS 0

--- 17 unchanged lines hidden ---