In Memoriam: Steve Taylor stayl.nosp@m.or@r.nosp@m.edhat.nosp@m..com was here, now he's not.  
More...
#include <rpm/rpmio.h>
#include <rpm/header.h>
#include <rpm/rpmtag.h>
#include <rpm/rpmds.h>
#include <rpm/rpmver.h>
 
Go to the source code of this file.
 | 
| #define  | RPM_MACHTABLE_COUNT   4 | 
|   | 
| enum   | rpm_machtable_e { RPM_MACHTABLE_INSTARCH = 0
, RPM_MACHTABLE_INSTOS = 1
, RPM_MACHTABLE_BUILDARCH = 2
, RPM_MACHTABLE_BUILDOS = 3
 } | 
|   | Build and install arch/os table identifiers.  More...
  | 
|   | 
| int  | rpmReadConfigFiles (const char *file, const char *target) | 
|   | Read macro configuration file(s) for a target.  More...
  | 
|   | 
| void  | rpmGetArchInfo (const char **name, int *num) | 
|   | Return current arch name and/or number.  More...
  | 
|   | 
| int  | rpmGetArchColor (const char *arch) | 
|   | Return color for an arch.  More...
  | 
|   | 
| void  | rpmGetOsInfo (const char **name, int *num) | 
|   | Return current os name and/or number.  More...
  | 
|   | 
| int  | rpmMachineScore (int type, const char *name) | 
|   | Return arch/os score of a name.  More...
  | 
|   | 
| int  | rpmShowRC (FILE *fp) | 
|   | Display current rpmrc (and macro) configuration.  More...
  | 
|   | 
| void  | rpmFreeRpmrc (void) | 
|   | Destroy rpmrc arch/os compatibility tables.  More...
  | 
|   | 
| int  | rpmVersionCompare (Header first, Header second) | 
|   | Compare headers to determine which header is "newer".  More...
  | 
|   | 
| rpmRC  | headerCheck (rpmts ts, const void *uh, size_t uc, char **msg) | 
|   | Check header consistency, performing headerGetEntry() the hard way.  More...
  | 
|   | 
| rpmRC  | rpmReadHeader (rpmts ts, FD_t fd, Header *hdrp, char **msg) | 
|   | Return checked and loaded header.  More...
  | 
|   | 
| rpmRC  | rpmReadPackageFile (rpmts ts, FD_t fd, const char *fn, Header *hdrp) | 
|   | Return package header from file handle, verifying digests/signatures.  More...
  | 
|   | 
| rpmRC  | rpmInstallSourcePackage (rpmts ts, FD_t fd, char **specFilePtr, char **cookie) | 
|   | Install source package.  More...
  | 
|   | 
In Memoriam: Steve Taylor stayl.nosp@m.or@r.nosp@m.edhat.nosp@m..com was here, now he's not. 
Definition in file rpmlib.h.
 
◆ RPM_MACHTABLE_COUNT
      
        
          | #define RPM_MACHTABLE_COUNT   4 | 
        
      
 
No. of arch/os tables. 
Definition at line 50 of file rpmlib.h.
 
 
◆ rpmInstallSourcePackage()
      
        
          | rpmRC rpmInstallSourcePackage  | 
          ( | 
          rpmts  | 
          ts,  | 
        
        
           | 
           | 
          FD_t  | 
          fd,  | 
        
        
           | 
           | 
          char **  | 
          specFilePtr,  | 
        
        
           | 
           | 
          char **  | 
          cookie  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Install source package. 
- Parameters
 - 
  
     | ts | transaction set  | 
     | fd | file handle  | 
    | [out] | specFilePtr | address of spec file name (or NULL)  | 
    | [out] | cookie | address of cookie pointer (or NULL)  | 
  
   
- Returns
 - rpmRC return code 
 
 
 
◆ rpmVersionCompare()
Compare headers to determine which header is "newer". 
- Parameters
 - 
  
    | first | 1st header  | 
    | second | 2nd header  | 
  
   
- Returns
 - result of comparison 
 
 
 
◆ rpmCLIMacroContext
  
  
      
        
          | struct rpmMacroContext_s* rpmCLIMacroContext | 
         
       
   | 
  
extern   | 
  
 
 
◆ rpmEVR
◆ rpmFLAGS
◆ rpmGlobalMacroContext
  
  
      
        
          | struct rpmMacroContext_s* rpmGlobalMacroContext | 
         
       
   | 
  
extern   | 
  
 
 
◆ rpmNAME
  
  
      
        
          | const char* const rpmNAME | 
         
       
   | 
  
extern   | 
  
 
 
◆ RPMVERSION
  
  
      
        
          | const char* const RPMVERSION | 
         
       
   | 
  
extern   |