NetBSD/libexec/identd/identd.h

61 lines
1.4 KiB
C
Raw Normal View History

1998-07-15 11:31:55 +04:00
/* $NetBSD: identd.h,v 1.5 1998/07/15 07:31:56 msaitoh Exp $ */
1997-10-08 11:07:40 +04: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[];
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;
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
extern int lport;
extern int fport;
1997-10-08 11:07:40 +04:00
extern char *gethost __P((struct in_addr *));
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));
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
#endif