NetBSD/libexec/identd/identd.h
jwise 76cd940256 Add a -L (lie brazenly) flag, to demonstrate the perils of proof by
assertion^W^W^W^W^W^W^Wprovide admins with a means of providing a
standard host-wide identd response.  From the man page:

The -L<user name> option instructs identd to lie  brazenly
about  the  identity  of the user in question.  You didn't
really intend to trust my assertion about who I  was  any-
way, right?
This  flag  provides  a way for a site to support services
requiring the ident protocol while  providing  a  standard
answer to all ident queries. All queries to identd will
respond with a host type of  `OTHER'  and  a  username  of
<user name>.
1999-05-18 04:49:41 +00:00

63 lines
1.4 KiB
C

/* $NetBSD: identd.h,v 1.6 1999/05/18 04:49:41 jwise Exp $ */
/*
** 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__
extern char version[];
extern char *lie_string;
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;
extern int crypto_flag;
extern int liar_flag;
extern char *charset_name;
extern char *indirect_host;
extern char *indirect_password;
#ifdef ALLOW_FORMAT
extern int format_flag;
extern char *format;
#endif
extern int lport;
extern int fport;
extern char *gethost __P((struct in_addr *));
extern int k_open __P((void));
#ifndef ALLOW_FORMAT
extern int k_getuid __P((struct in_addr *, int, struct in_addr *, int, int *));
#else
extern int k_getuid __P((struct in_addr *, int, struct in_addr *, int, int *, int *, char **, char **));
#endif
extern int parse __P((FILE *, struct in_addr *, struct in_addr *));
extern int parse_config __P((char *, int));
#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