/home/brq/plautrba/devel/src/openscap.git/openscap-0.8.2/src/OVAL/probes/unix/linux/rpminfo.c File Reference

rpminfo probe More...

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <rpm/rpmdb.h>
#include <rpm/rpmlib.h>
#include <rpm/rpmts.h>
#include <rpm/rpmmacro.h>
#include <rpm/rpmlog.h>
#include <rpm/header.h>
#include <seap.h>
#include <probe-api.h>
#include "probe/entcmp.h"
#include <alloc.h>
#include <common/assume.h>

Data Structures

struct  rpminfo_req
struct  rpminfo_rep
struct  rpminfo_global

Defines

#define HAVE_LIBRPM44   1
#define headerFormat(_h, _fmt, _emsg)   headerSprintf((_h),( _fmt), rpmTagTable, rpmHeaderFormats, (_emsg))
#define rpmFreeCrypto()   while(0)
#define rpmFreeFilesystems()   while(0)

Functions

void * probe_init (void)
 Dummy probe_fini function.
void probe_fini (void *ptr)
 Dummy probe_fini function.
int probe_main (probe_ctx *ctx, void *arg)

Detailed Description

rpminfo probe

Author:
"Daniel Kopecek" <dkopecek@redhat.com>

2010/06/13 dkopecek@redhat.com This probe is able to process a rpminfo_object as defined in OVAL 5.4 and 5.5.


Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1