rpm  5.4.15
Typedefs | Enumerations
rpmtypes.h File Reference

Go to the source code of this file.

Typedefs

typedef struct rpmts_s * rpmts
 The RPM Transaction Set. More...
 
typedef void * alKey
 An added/available package retrieval key. More...
 
typedef struct Spec_sSpec
 
typedef struct rpmds_s * rpmds
 Dependency tag sets from a header, so that a header can be discarded early. More...
 
typedef struct rpmPRCO_s * rpmPRCO
 Container for commonly extracted dependency set(s). More...
 
typedef struct rpmte_s * rpmte
 An element of a transaction set, i.e. More...
 
typedef struct rpmdb_s * rpmdb
 Database of headers and tag value indices. More...
 
typedef struct rpmmi_srpmmi
 Database iterator. More...
 
typedef struct rpmgi_s * rpmgi
 Generalized iterator. More...
 
typedef struct rpmRelocation_srpmRelocation
 
typedef enum rpmScriptID_e rpmScriptID
 Scriptlet identifiers. More...
 
typedef enum rpmScriptState_e rpmScriptState
 Scriptlet states (when installed). More...
 

Enumerations

enum  rpmScriptID_e {
  RPMSCRIPT_PRETRANS = 0, RPMSCRIPT_TRIGGERPREIN = 1, RPMSCRIPT_PREIN = 2, RPMSCRIPT_POSTIN = 3,
  RPMSCRIPT_TRIGGERIN = 4, RPMSCRIPT_TRIGGERUN = 5, RPMSCRIPT_PREUN = 6, RPMSCRIPT_POSTUN = 7,
  RPMSCRIPT_TRIGGERPOSTUN = 8, RPMSCRIPT_POSTTRANS = 9, RPMSCRIPT_VERIFY = 16, RPMSCRIPT_SANITYCHECK = 17,
  RPMSCRIPT_PREP = 24, RPMSCRIPT_BUILD = 25, RPMSCRIPT_INSTALL = 26, RPMSCRIPT_CHECK = 27,
  RPMSCRIPT_MAX = 32
}
 Scriptlet identifiers. More...
 
enum  rpmScriptState_e {
  RPMSCRIPT_STATE_UNKNOWN = 0, RPMSCRIPT_STATE_EXEC = (1 << 16), RPMSCRIPT_STATE_REAPED = (1 << 17), RPMSCRIPT_STATE_SELINUX = (1 << 24),
  RPMSCRIPT_STATE_EMBEDDED = (1 << 25)
}
 Scriptlet states (when installed). More...
 

Typedef Documentation

typedef void* alKey

An added/available package retrieval key.

Definition at line 19 of file rpmtypes.h.

typedef struct rpmdb_s* rpmdb

Database of headers and tag value indices.

Definition at line 43 of file rpmtypes.h.

typedef struct rpmds_s* rpmds

Dependency tag sets from a header, so that a header can be discarded early.

Definition at line 28 of file rpmtypes.h.

typedef struct rpmgi_s* rpmgi

Generalized iterator.

Definition at line 53 of file rpmtypes.h.

typedef struct rpmmi_s* rpmmi

Database iterator.

Definition at line 48 of file rpmtypes.h.

typedef struct rpmPRCO_s* rpmPRCO

Container for commonly extracted dependency set(s).

Definition at line 33 of file rpmtypes.h.

typedef struct rpmRelocation_s* rpmRelocation

Definition at line 57 of file rpmtypes.h.

typedef enum rpmScriptID_e rpmScriptID

Scriptlet identifiers.

Scriptlet states (when installed).

typedef struct rpmte_s* rpmte

An element of a transaction set, i.e.

a TR_ADDED or TR_REMOVED package.

Definition at line 38 of file rpmtypes.h.

typedef struct rpmts_s* rpmts

The RPM Transaction Set.

Transaction sets are inherently unordered! RPM may reorder transaction sets to reduce errors. In general, installs/upgrades are done before strict removals, and prerequisite ordering is done on installs/upgrades.

Definition at line 14 of file rpmtypes.h.

typedef struct Spec_s* Spec

Definition at line 23 of file rpmtypes.h.

Enumeration Type Documentation

Scriptlet identifiers.

Enumerator
RPMSCRIPT_PRETRANS 

pretrans scriptlet

RPMSCRIPT_TRIGGERPREIN 

triggerprein scriptlet

RPMSCRIPT_PREIN 

pre scriptlet

RPMSCRIPT_POSTIN 

post scriptlet

RPMSCRIPT_TRIGGERIN 

triggerin scriptlet

RPMSCRIPT_TRIGGERUN 

triggerun scriptlet

RPMSCRIPT_PREUN 

preun scriptlet

RPMSCRIPT_POSTUN 

postun scriptlet

RPMSCRIPT_TRIGGERPOSTUN 

triggerpostun scriptlet

RPMSCRIPT_POSTTRANS 

posttrans scriptlet

RPMSCRIPT_VERIFY 

verify scriptlet

RPMSCRIPT_SANITYCHECK 

sanitycheck scriptlet

RPMSCRIPT_PREP 

prep build scriptlet

RPMSCRIPT_BUILD 

build build scriptlet

RPMSCRIPT_INSTALL 

install build scriptlet

RPMSCRIPT_CHECK 

check build scriptlet

RPMSCRIPT_MAX 

Definition at line 62 of file rpmtypes.h.

Scriptlet states (when installed).

Enumerator
RPMSCRIPT_STATE_UNKNOWN 
RPMSCRIPT_STATE_EXEC 

scriptlet was exec'd

RPMSCRIPT_STATE_REAPED 

scriptlet was reaped

RPMSCRIPT_STATE_SELINUX 

scriptlet exec by SELinux

RPMSCRIPT_STATE_EMBEDDED 

scriptlet exec by lua et al

Definition at line 88 of file rpmtypes.h.