#include <libpackman/package.h>
Go to the source code of this file.
Enumerations | |
enum | PmScriptType { PM_SCRIPT_PRE, PM_SCRIPT_POST, PM_SCRIPT_TRIGGER } |
Types of scripts. More... | |
enum | PmScriptEvent { PM_SCRIPTEVT_INSTALL, PM_SCRIPTEVT_UNINSTALL } |
Script events. More... | |
enum | PmScriptError { PM_SCRIPTERR_SUCCESS, PM_SCRIPTERR_NOT_FOUND, PM_SCRIPTERR_INTERPERR } |
Script errors. More... | |
Functions | |
PmScriptError | pmExecuteScript (PmPackage *package, PmScriptType type, PmScriptEvent event, const char *trigger) |
Executes the specified script(s) in a package. |
This library 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 Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Script errors.
|
|
Script events.
|
|
Types of scripts.
|
|
Executes the specified script(s) in a package.
If this is a trigger script, trigger must be the name of a package. If this is not a trigger script, should be
|