File/plugins/gpg/functions/execute.php

Description

gpg_execute.php

execute.php contains functions to call the gpg binary directly Copyright (c) 2003-2007 Aaron van Meerten Copyright (c) 2007 The NaSMail Project

  • author: Aaron van Meerten
  • version: $Id: execute.php 939 2007-10-20 18:31:02Z tokul $
Includes
 require_once (SM_PATH.'plugins/gpg/classes/gpg.php') (line 14)
Functions
gpg_execute (line 28)

This function directly execs the gpg binary with parameters passed in all other functions which try to use gpg should call this function

array gpg_execute (string $parameterlist, [optional $passphrase = ''], [optional $body = ''], [optional $safe_data_dir = false], [boolean $forceexec = false])
  • string $parameterlist: list of parameters to be passed to gpg from calling function
  • boolean $forceexec: force execution without proc_open
  • optional $passphrase: string $passphrase
  • optional $body: string $body
  • optional $safe_data_dir: string $safe_data_dir full path to data directory, useful if chdir'ed while executing

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