identd.h revision 1.5 1 1.5 msaitoh /* $NetBSD: identd.h,v 1.5 1998/07/15 07:31:56 msaitoh Exp $ */
2 1.4 mrg
3 1.1 cgd /*
4 1.1 cgd ** identd.h Common variables for the Pidentd daemon
5 1.1 cgd **
6 1.1 cgd ** This program is in the public domain and may be used freely by anyone
7 1.1 cgd ** who wants to.
8 1.1 cgd **
9 1.1 cgd ** Last update: 6 Dec 1992
10 1.1 cgd **
11 1.1 cgd ** Please send bug fixes/bug reports to: Peter Eriksson <pen (at) lysator.liu.se>
12 1.1 cgd */
13 1.1 cgd
14 1.1 cgd #ifndef __IDENTD_H__
15 1.1 cgd #define __IDENTD_H__
16 1.1 cgd
17 1.5 msaitoh extern char version[];
18 1.1 cgd
19 1.1 cgd extern char *path_unix;
20 1.1 cgd extern char *path_kmem;
21 1.1 cgd
22 1.1 cgd extern int verbose_flag;
23 1.1 cgd extern int debug_flag;
24 1.1 cgd extern int syslog_flag;
25 1.1 cgd extern int multi_flag;
26 1.1 cgd extern int other_flag;
27 1.1 cgd extern int unknown_flag;
28 1.1 cgd extern int noident_flag;
29 1.5 msaitoh extern int crypto_flag;
30 1.1 cgd
31 1.1 cgd extern char *charset_name;
32 1.1 cgd extern char *indirect_host;
33 1.1 cgd extern char *indirect_password;
34 1.1 cgd
35 1.5 msaitoh #ifdef ALLOW_FORMAT
36 1.5 msaitoh extern int format_flag;
37 1.5 msaitoh extern char *format;
38 1.5 msaitoh #endif
39 1.5 msaitoh
40 1.1 cgd extern int lport;
41 1.1 cgd extern int fport;
42 1.1 cgd
43 1.4 mrg extern char *gethost __P((struct in_addr *));
44 1.1 cgd
45 1.4 mrg extern int k_open __P((void));
46 1.5 msaitoh #ifndef ALLOW_FORMAT
47 1.4 mrg extern int k_getuid __P((struct in_addr *, int, struct in_addr *, int, int *));
48 1.5 msaitoh #else
49 1.5 msaitoh extern int k_getuid __P((struct in_addr *, int, struct in_addr *, int, int *, int *, char **, char **));
50 1.5 msaitoh #endif
51 1.4 mrg extern int parse __P((FILE *, struct in_addr *, struct in_addr *));
52 1.4 mrg extern int parse_config __P((char *, int));
53 1.5 msaitoh
54 1.5 msaitoh #ifdef INCLUDE_PROXY
55 1.5 msaitoh int proxy __P((struct in_addr *, struct in_addr *, int, int, struct timeval *));
56 1.5 msaitoh #else
57 1.5 msaitoh int proxy __P((void *, void *, int, int, void *));
58 1.5 msaitoh #endif
59 1.1 cgd
60 1.1 cgd #endif
61