summaryrefslogtreecommitdiff
path: root/usr.sbin/popa3d/virtual.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/popa3d/virtual.h')
-rw-r--r--usr.sbin/popa3d/virtual.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/usr.sbin/popa3d/virtual.h b/usr.sbin/popa3d/virtual.h
deleted file mode 100644
index 307c21a05df..00000000000
--- a/usr.sbin/popa3d/virtual.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* $OpenBSD: virtual.h,v 1.3 2002/03/27 14:08:43 camield Exp $ */
-
-/*
- * Virtual domain support.
- */
-
-#ifndef _POP_VIRTUAL_H
-#define _POP_VIRTUAL_H
-
-#include <pwd.h>
-#include <sys/types.h>
-
-/*
- * These are set by the authentication routine, below.
- */
-extern char *virtual_domain;
-extern char *virtual_spool;
-
-/*
- * Initializes the virtual domain support at startup. Note that this will
- * only be called once in standalone mode, so don't expect an open socket
- * here. Returns a non-zero value on error.
- */
-extern int virtual_startup(void);
-
-/*
- * Tries to authenticate a username/password pair for the virtual domain
- * indicated either by the connected IP address (the socket is available
- * on fd 0), or as a part of the username. If the virtual domain is known,
- * virtual_domain and virtual_spool are set appropriately. If the username
- * is known as well, known is set. Returns the template user to run as if
- * authentication succeeds, or NULL otherwise.
- */
-extern struct passwd *virtual_userpass(char *user, char *pass, int *known);
-
-#endif