File/plugins/sasql/includes/policyd.inc

Description

NaSMail Sasql Plugin

Copyright (c) 2004-2007 Randy Smith <perlstalker@vuser.org> Copyright (c) 2007-2008 The NaSMail Project This file is part of NaSMail sasql plugin. It is based on SquirrelMail sasql plugin.

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Includes
 include_once (SM_PATH.'plugins/sasql/policyd_conf.php') (line 49)
 include_once (SM_PATH.'plugins/sasql/load_config.php') (line 46)
 require_once ('DB.php') (line 31)

load Pear DB

Functions
policyd_connect (line 64)

Creates connection to database

  • return: connection object
object PeadDB policyd_connect ()
policyd_grey_is_optin (line 85)

Checks status of greylisting preferences

integer policyd_grey_is_optin (string $username)
  • string $username
policyd_grey_optinout (line 125)
void policyd_grey_optinout ( $username,  $optin)
  • $username
  • $optin

Documentation generated on Sun, 22 Nov 2009 17:36:44 +0200 by phpDocumentor 1.4.3