rpm  4.5
Data Fields
MacroEntry_s Struct Reference

#include <rpmio/rpmmacro.h>

Collaboration diagram for MacroEntry_s:
Collaboration graph
[legend]

Data Fields

struct MacroEntry_sprev
 
const char * name
 
const char * opts
 
const char * body
 
int used
 
short level
 
unsigned short flags
 

Detailed Description

The structure used to store a macro.

Definition at line 9 of file rpmmacro.h.

Field Documentation

const char* MacroEntry_s::body

Macro body.

Definition at line 13 of file rpmmacro.h.

Referenced by expandMacro(), freeArgs(), popMacro(), pushMacro(), rpmDumpMacroTable(), rpmFreeMacros(), and rpmLoadMacros().

unsigned short MacroEntry_s::flags

Flags.

Definition at line 16 of file rpmmacro.h.

Referenced by addMacro(), and pushMacro().

short MacroEntry_s::level

Scoping level.

Definition at line 15 of file rpmmacro.h.

Referenced by freeArgs(), pushMacro(), and rpmDumpMacroTable().

const char* MacroEntry_s::name
const char* MacroEntry_s::opts

Macro parameters (a la getopt)

Definition at line 12 of file rpmmacro.h.

Referenced by expandMacro(), grabArgs(), popMacro(), pushMacro(), rpmDumpMacroTable(), rpmFreeMacros(), and rpmLoadMacros().

struct MacroEntry_s* MacroEntry_s::prev

Macro entry stack.

Definition at line 10 of file rpmmacro.h.

Referenced by popMacro(), pushMacro(), and rpmFreeMacros().

int MacroEntry_s::used

No. of expansions.

Definition at line 14 of file rpmmacro.h.

Referenced by expandMacro(), freeArgs(), pushMacro(), and rpmDumpMacroTable().


The documentation for this struct was generated from the following file: