projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1610f79
)
Revert "Transaction element type is not a bitfield but a plain old enum"
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 25 Mar 2010 08:31:47 +0000
(10:31 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 25 Mar 2010 08:31:47 +0000
(10:31 +0200)
- Element types are not a bitfield but they're declared this way to
permit easy filtering on iteration.
- This reverts commit
6ed64c001f667ad8fb8bdec01f5ca54f57c44270
.
lib/rpmte.h
patch
|
blob
|
history
diff --git
a/lib/rpmte.h
b/lib/rpmte.h
index
185128f
..
c87af53
100644
(file)
--- a/
lib/rpmte.h
+++ b/
lib/rpmte.h
@@
-16,8
+16,8
@@
extern "C" {
* Transaction element type.
*/
typedef enum rpmElementType_e {
- TR_ADDED =
1,
/*!< Package will be installed. */
- TR_REMOVED =
2,
/*!< Package will be removed. */
+ TR_ADDED =
(1 << 0),
/*!< Package will be installed. */
+ TR_REMOVED =
(1 << 1)
/*!< Package will be removed. */
} rpmElementType;
/** \ingroup rpmte