Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

transerror.h File Reference

Transaction Error functions. More...

Go to the source code of this file.

Data Structures

struct  PmTransactionError
 A transaction error. More...


Enumerations

enum  PmTransErrorType {
  PM_TRANSERR_EXTRACT, PM_TRANSERR_DB_ADD, PM_TRANSERR_DB_REMOVE, PM_TRANSERR_MISSING_DEPS,
  PM_TRANSERR_FILE_CONFLICT, PM_TRANSERR_DEP_CONFLICT
}
 Types of transaction errors. More...


Functions

PmTransactionErrorpmNewTransError (PmTransErrorType type)
 Creates a new PmTransactionError structure.

void pmDestroyTransError (PmTransactionError *transError)
 Destroys a PmTransactionError structure.


Detailed Description

Transaction Error functions.

Id:
transerror.h,v 1.4 2002/06/07 08:21:48 chipx86 Exp
Copyright:
(C) 1999-2002 The GNUpdate Project.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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.


Enumeration Type Documentation

enum PmTransErrorType
 

Types of transaction errors.

Enumeration values:
PM_TRANSERR_EXTRACT  Error extracting files from a package.
PM_TRANSERR_DB_ADD  Error adding to the database.
PM_TRANSERR_DB_REMOVE  Error removing from the database.
PM_TRANSERR_MISSING_DEPS  Missing dependencies.
PM_TRANSERR_FILE_CONFLICT  File conflicts.
PM_TRANSERR_DEP_CONFLICT  Dependency conflicts.


Function Documentation

void pmDestroyTransError PmTransactionError   transError
 

Destroys a PmTransactionError structure.

Parameters:
transError  The transaction error to destroy.
See also:
pmNewTransError()

PmTransactionError* pmNewTransError PmTransErrorType    type
 

Creates a new PmTransactionError structure.

Parameters:
type  The type of transaction error.
Returns:
A new PmTransactionError structure.
See also:
pmDestroyTransError()


Generated on Tue Jul 2 03:15:24 2002 for libpackman by doxygen1.2.15-20020430