#include <packman.h>
#include <packman.h>
Go to the source code of this file.
Data Structures | |
| struct | PmTransaction |
| A transaction. More... | |
Enumerations | |
| enum | PmTransactionType { PM_TRANSACTION_INSTALL, PM_TRANSACTION_UNINSTALL, PM_TRANSACTION_DB_ADD, PM_TRANSACTION_DB_REMOVE } |
| Types of transactions. More... | |
Functions | |
| PmTransaction * | pmNewTransaction (PmDatabase *db, PmTransactionType type) |
| Builds a transaction structure. | |
| void | pmDestroyTransaction (PmTransaction *transaction) |
| Destroys a PmTransaction structure. | |
| PmStatus | pmPerformTransaction (PmTransaction *transaction, PmTransactionError **error) |
| Performs a transaction. | |
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.
|
|
Types of transactions.
|
|
|
Destroys a PmTransaction structure.
|
|
||||||||||||
|
Builds a transaction structure.
|
|
||||||||||||
|
Performs a transaction.
|
1.2.15-20020430