1999-05-18 08:49:41 +04:00
|
|
|
/* $NetBSD: identd.h,v 1.6 1999/05/18 04:49:41 jwise Exp $ */
|
1997-10-08 11:07:40 +04:00
|
|
|
|
1994-02-05 00:41:32 +03:00
|
|
|
/*
|
|
|
|
** identd.h Common variables for the Pidentd daemon
|
|
|
|
**
|
|
|
|
** This program is in the public domain and may be used freely by anyone
|
|
|
|
** who wants to.
|
|
|
|
**
|
|
|
|
** Last update: 6 Dec 1992
|
|
|
|
**
|
|
|
|
** Please send bug fixes/bug reports to: Peter Eriksson <pen@lysator.liu.se>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IDENTD_H__
|
|
|
|
#define __IDENTD_H__
|
|
|
|
|
1998-07-15 11:31:55 +04:00
|
|
|
extern char version[];
|
1999-05-18 08:49:41 +04:00
|
|
|
extern char *lie_string;
|
1994-02-05 00:41:32 +03:00
|
|
|
|
|
|
|
extern char *path_unix;
|
|
|
|
extern char *path_kmem;
|
|
|
|
|
|
|
|
extern int verbose_flag;
|
|
|
|
extern int debug_flag;
|
|
|
|
extern int syslog_flag;
|
|
|
|
extern int multi_flag;
|
|
|
|
extern int other_flag;
|
|
|
|
extern int unknown_flag;
|
|
|
|
extern int noident_flag;
|
1998-07-15 11:31:55 +04:00
|
|
|
extern int crypto_flag;
|
1999-05-18 08:49:41 +04:00
|
|
|
extern int liar_flag;
|
1994-02-05 00:41:32 +03:00
|
|
|
|
|
|
|
extern char *charset_name;
|
|
|
|
extern char *indirect_host;
|
|
|
|
extern char *indirect_password;
|
|
|
|
|
1998-07-15 11:31:55 +04:00
|
|
|
#ifdef ALLOW_FORMAT
|
|
|
|
extern int format_flag;
|
|
|
|
extern char *format;
|
|
|
|
#endif
|
|
|
|
|
1994-02-05 00:41:32 +03:00
|
|
|
extern int lport;
|
|
|
|
extern int fport;
|
|
|
|
|
1997-10-08 11:07:40 +04:00
|
|
|
extern char *gethost __P((struct in_addr *));
|
1994-02-05 00:41:32 +03:00
|
|
|
|
1997-10-08 11:07:40 +04:00
|
|
|
extern int k_open __P((void));
|
1998-07-15 11:31:55 +04:00
|
|
|
#ifndef ALLOW_FORMAT
|
1997-10-08 11:07:40 +04:00
|
|
|
extern int k_getuid __P((struct in_addr *, int, struct in_addr *, int, int *));
|
1998-07-15 11:31:55 +04:00
|
|
|
#else
|
|
|
|
extern int k_getuid __P((struct in_addr *, int, struct in_addr *, int, int *, int *, char **, char **));
|
|
|
|
#endif
|
1997-10-08 11:07:40 +04:00
|
|
|
extern int parse __P((FILE *, struct in_addr *, struct in_addr *));
|
|
|
|
extern int parse_config __P((char *, int));
|
1994-02-05 00:41:32 +03:00
|
|
|
|
1998-07-15 11:31:55 +04:00
|
|
|
#ifdef INCLUDE_PROXY
|
|
|
|
int proxy __P((struct in_addr *, struct in_addr *, int, int, struct timeval *));
|
|
|
|
#else
|
|
|
|
int proxy __P((void *, void *, int, int, void *));
|
|
|
|
#endif
|
|
|
|
|
1994-02-05 00:41:32 +03:00
|
|
|
#endif
|