Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

types.h File Reference

Type definitions. More...

Go to the source code of this file.

Enumerations

enum  PmStatus {
  PM_SUCCESS, PM_FAILED, PM_DB_ERROR, PM_PACKAGE_ERROR,
  PM_BATCH_ERROR, PM_NOT_SUPPORTED, PM_READ_ONLY, PM_DEP_ERROR,
  PM_EXISTS
}
 The returned status of a function. More...

enum  PmAccessMode { PM_MODE_READ_WRITE, PM_MODE_READ_ONLY, PM_MODE_TEST, PM_MODE_ERROR }
 The access mode used when opening a package or database. More...

enum  PmRelationship {
  PM_REL_LESS_THAN = 0, PM_REL_LESS_EQUAL, PM_REL_EQUAL, PM_REL_GREATER_EQUAL,
  PM_REL_GREATER_THAN
}
 The relationship between two items (such as versions). More...


Detailed Description

Type definitions.

Id:
types.h,v 1.7 2002/03/15 05:52:54 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 PmAccessMode
 

The access mode used when opening a package or database.

Enumeration values:
PM_MODE_READ_WRITE  Allows reading and writing to package files and database entries.
PM_MODE_READ_ONLY  Allows reading, but not writing, of packages and database entries.
PM_MODE_TEST 
PM_MODE_ERROR 

enum PmRelationship
 

The relationship between two items (such as versions).

Enumeration values:
PM_REL_LESS_THAN  Less than.
PM_REL_LESS_EQUAL  Less than or equal to.
PM_REL_EQUAL  Equal to.
PM_REL_GREATER_EQUAL  Greater than or equal to.
PM_REL_GREATER_THAN  Greater than.

enum PmStatus
 

The returned status of a function.

Enumeration values:
PM_SUCCESS  A successful completion.
PM_FAILED  A failed attempt.
PM_DB_ERROR  An error with a package database.
PM_PACKAGE_ERROR  An error with a package.
PM_BATCH_ERROR  An error with a batch.
PM_NOT_SUPPORTED  The feature is not supported in that module.
PM_READ_ONLY  The package or database is read-only.
PM_DEP_ERROR  Missing dependency, or other similar error.
PM_EXISTS  Package already exists in the database.


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