#include "system.h"
#include "rpmbuild.h"
#include "debug.h"
#include <rpmlua.h>
Go to the source code of this file.
Functions | |
static int | addTriggerIndex (Package pkg, const char *file, const char *script, const char *prog) |
int | parseScript (Spec spec, int parsePart) |
Parse %pre et al scriptlets from a spec file. | |
Variables | |
static const char * | name = NULL |
static const char * | prog = NULL |
static const char * | file = NULL |
static struct poptOption | optionsTable [] |
Definition in file parseScript.c.
static int addTriggerIndex | ( | Package | pkg, | |
const char * | file, | |||
const char * | script, | |||
const char * | prog | |||
) | [static] |
Definition at line 18 of file parseScript.c.
References TriggerFileEntry::index, TriggerFileEntry::next, Package_s::triggerFiles, xcalloc(), and xstrdup().
Referenced by parseScript().
const char* file = NULL [static] |
Definition at line 57 of file parseScript.c.
const char* name = NULL [static] |
Definition at line 53 of file parseScript.c.
struct poptOption optionsTable[] [static] |
Initial value:
{ { NULL, 'p', POPT_ARG_STRING, &prog, 'p', NULL, NULL}, { NULL, 'n', POPT_ARG_STRING, &name, 'n', NULL, NULL}, { NULL, 'f', POPT_ARG_STRING, &file, 'f', NULL, NULL}, { 0, 0, 0, 0, 0, NULL, NULL} }
Definition at line 59 of file parseScript.c.
const char* prog = NULL [static] |