rpm
5.4.15
|
#include "system.h"
#include <rpmiotypes.h>
#include <rpmio.h>
#include <rpmtpm.h>
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | _RPMTPM_INTERNAL |
#define | TPMDBG(_l) if (_rpmtpm_debug) fprintf _l |
Functions | |
int | rpmtpmErr (rpmtpm tpm, const char *msg, uint32_t mask, uint32_t rc) |
void | rpmtpmDump (rpmtpm tpm, const char *msg, unsigned char *b, size_t nb) |
static int | rpmtpmGetPhysicalCMDEnable (rpmtpm tpm) |
static void | rpmtpmFini (void *_tpm) |
static rpmtpm | rpmtpmGetPool (rpmioPool pool) |
rpmtpm | rpmtpmNew (int ac, char **av, struct poptOption *tbl, uint32_t flags) |
Create and load a TPM wrapper. More... | |
Variables | |
int | _rpmtpm_debug = 0 |
struct rpmtpm_s | __tpm |
rpmtpm | _tpm = &__tpm |
rpmioPool | _rpmtpmPool = NULL |
#define TPMDBG | ( | _l | ) | if (_rpmtpm_debug) fprintf _l |
void rpmtpmDump | ( | rpmtpm | tpm, |
const char * | msg, | ||
unsigned char * | b, | ||
size_t | nb | ||
) |
int rpmtpmErr | ( | rpmtpm | tpm, |
const char * | msg, | ||
uint32_t | mask, | ||
uint32_t | rc | ||
) |
Definition at line 37 of file rpmtpm.c.
References _rpmtpm_debug, and err.
Referenced by rpmtpmGetPhysicalCMDEnable().
|
static |
Definition at line 189 of file rpmtpm.c.
References _free(), and argvFree().
Referenced by rpmtpmGetPool().
|
static |
Definition at line 72 of file rpmtpm.c.
References rpmtpmErr().
Definition at line 254 of file rpmtpm.c.
References _rpmtpm_debug, _rpmtpmPool, rpmioGetPool(), rpmioNewPool(), and rpmtpmFini().
Referenced by rpmtpmNew().
rpmtpm rpmtpmNew | ( | int | ac, |
char ** | av, | ||
struct poptOption * | tbl, | ||
uint32_t | flags | ||
) |
Create and load a TPM wrapper.
ac | TPM arg count |
av | TPM args |
tbl | TPM option table |
flags | TPM flags |
Definition at line 270 of file rpmtpm.c.
References rpmIsVerbose, rpmtpmGetPool(), and rpmtpmLink().
int _rpmtpm_debug = 0 |
Definition at line 30 of file rpmtpm.c.
Referenced by rpmtpmErr(), and rpmtpmGetPool().
rpmioPool _rpmtpmPool = NULL |
Definition at line 252 of file rpmtpm.c.
Referenced by rpmioClean(), and rpmtpmGetPool().