#include <stdio.h>
#include <stddef.h>
#include <rpm/rpmutil.h>
#include <rpm/rpmfileutil.h>
Go to the source code of this file.
 | 
| void  | rpmDumpMacroTable (rpmMacroContext mc, FILE *fp) | 
|   | Print macros to file stream.  More...
  | 
|   | 
| int  | expandMacros (void *spec, rpmMacroContext mc, char *sbuf, size_t slen) | 
|   | Expand macro into buffer.  More...
  | 
|   | 
| void  | addMacro (rpmMacroContext mc, const char *n, const char *o, const char *b, int level) | 
|   | Add macro to context.  More...
  | 
|   | 
| void  | delMacro (rpmMacroContext mc, const char *n) | 
|   | Delete macro from context.  More...
  | 
|   | 
| int  | rpmDefineMacro (rpmMacroContext mc, const char *macro, int level) | 
|   | Define macro in context.  More...
  | 
|   | 
| void  | rpmLoadMacros (rpmMacroContext mc, int level) | 
|   | Load macros from specific context into global context.  More...
  | 
|   | 
| int  | rpmLoadMacroFile (rpmMacroContext mc, const char *fn) | 
|   | Load macro context from a macro file.  More...
  | 
|   | 
| void  | rpmInitMacros (rpmMacroContext mc, const char *macrofiles) | 
|   | Initialize macro context from set of macrofile(s).  More...
  | 
|   | 
| void  | rpmFreeMacros (rpmMacroContext mc) | 
|   | Destroy macro context.  More...
  | 
|   | 
| char *  | rpmExpand (const char *arg,...) RPM_GNUC_NULL_TERMINATED | 
|   | Return (malloc'ed) concatenated macro expansion(s).  More...
  | 
|   | 
| int  | rpmExpandNumeric (const char *arg) | 
|   | Return macro expansion as a numeric value.  More...
  | 
|   | 
| const char *  | rpmConfigDir (void) | 
|   | Return rpm configuration base directory.  More...
  | 
|   | 
Markers for sources of macros added throughout rpm. 
Definition at line 36 of file rpmmacro.h.
 
 
      
        
          | #define RMIL_MACROFILES   -13 |