/* ** Copyright 1998 - 2000 Double Precision, Inc. See COPYING for ** distribution information. */ #if HAVE_CONFIG_H #include "courier_auth_config.h" #endif #include #include #include #include #include #if HAVE_UNISTD_H #include #endif #include #include #include "auth.h" static const char rcsid[]="$Id: authvchkpwlib.c,v 1.8 2004/10/21 00:10:49 mrsam Exp $"; char *authvchkpw_isvirtual(char *c) { char *p; if ((p=strchr(c, '@')) != 0) return (p); #if 0 if ((p=strchr(c, '%')) != 0) return (p); #endif if ((p=strchr(c, ':')) != 0) return (p); return (0); }