rpm
5.4.15
|
#include "system.h"
#include <rpmiotypes.h>
#include <rpmtypes.h>
#include <argv.h>
#include <rpmtag.h>
#include <rpmdb.h>
#include <rpmlio.h>
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | _RPMDB_INTERNAL |
Functions | |
int | rpmlioCreat (rpmdb rpmdb, const char *fn, mode_t mode, const uint8_t *b, size_t blen, const uint8_t *d, size_t dlen, uint32_t dalgo) |
int | rpmlioUnlink (rpmdb rpmdb, const char *fn, mode_t mode, const uint8_t *b, size_t blen, const uint8_t *d, size_t dlen, uint32_t dalgo) |
int | rpmlioRename (rpmdb rpmdb, const char *oldname, const char *newname, mode_t mode, const uint8_t *b, size_t blen, const uint8_t *d, size_t dlen, uint32_t dalgo) |
int | rpmlioMkdir (rpmdb rpmdb, const char *dn, mode_t mode) |
int | rpmlioRmdir (rpmdb rpmdb, const char *dn, mode_t mode) |
int | rpmlioLsetfilecon (rpmdb rpmdb, const char *fn, const char *context) |
int | rpmlioChown (rpmdb rpmdb, const char *fn, uid_t uid, gid_t gid) |
int | rpmlioLchown (rpmdb rpmdb, const char *fn, uid_t uid, gid_t gid) |
int | rpmlioChmod (rpmdb rpmdb, const char *fn, mode_t mode) |
int | rpmlioUtime (rpmdb rpmdb, const char *fn, time_t actime, time_t modtime) |
int | rpmlioSymlink (rpmdb rpmdb, const char *ln, const char *fn) |
int | rpmlioLink (rpmdb rpmdb, const char *ln, const char *fn) |
int | rpmlioMknod (rpmdb rpmdb, const char *fn, mode_t mode, dev_t dev) |
int | rpmlioMkfifo (rpmdb rpmdb, const char *fn, mode_t mode) |
int | rpmlioPrein (rpmdb rpmdb, const char **av, const char *body) |
int | rpmlioPostin (rpmdb rpmdb, const char **av, const char *body) |
int | rpmlioPreun (rpmdb rpmdb, const char **av, const char *body) |
int | rpmlioPostun (rpmdb rpmdb, const char **av, const char *body) |
Variables | |
int | _rpmlio_debug = 0 |
int rpmlioChmod | ( | rpmdb | rpmdb, |
const char * | fn, | ||
mode_t | mode | ||
) |
Definition at line 222 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioChown | ( | rpmdb | rpmdb, |
const char * | fn, | ||
uid_t | uid, | ||
gid_t | gid | ||
) |
Definition at line 182 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioCreat | ( | rpmdb | rpmdb, |
const char * | fn, | ||
mode_t | mode, | ||
const uint8_t * | b, | ||
size_t | blen, | ||
const uint8_t * | d, | ||
size_t | dlen, | ||
uint32_t | dalgo | ||
) |
Definition at line 28 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by extractRegular().
int rpmlioLchown | ( | rpmdb | rpmdb, |
const char * | fn, | ||
uid_t | uid, | ||
gid_t | gid | ||
) |
Definition at line 202 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioLink | ( | rpmdb | rpmdb, |
const char * | ln, | ||
const char * | fn | ||
) |
Definition at line 285 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioLsetfilecon | ( | rpmdb | rpmdb, |
const char * | fn, | ||
const char * | context | ||
) |
Definition at line 156 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioMkdir | ( | rpmdb | rpmdb, |
const char * | dn, | ||
mode_t | mode | ||
) |
Definition at line 116 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioMkfifo | ( | rpmdb | rpmdb, |
const char * | fn, | ||
mode_t | mode | ||
) |
Definition at line 328 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioMknod | ( | rpmdb | rpmdb, |
const char * | fn, | ||
mode_t | mode, | ||
dev_t | dev | ||
) |
Definition at line 308 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioPostin | ( | rpmdb | rpmdb, |
const char ** | av, | ||
const char * | body | ||
) |
Definition at line 373 of file rpmlio.c.
References __P, _free(), _rpmlio_debug, argvJoin(), cmd, __db_dbt::data, and __db_dbt::size.
Referenced by runScript().
int rpmlioPostun | ( | rpmdb | rpmdb, |
const char ** | av, | ||
const char * | body | ||
) |
Definition at line 423 of file rpmlio.c.
References __P, _free(), _rpmlio_debug, argvJoin(), cmd, __db_dbt::data, and __db_dbt::size.
Referenced by runScript().
int rpmlioPrein | ( | rpmdb | rpmdb, |
const char ** | av, | ||
const char * | body | ||
) |
Definition at line 348 of file rpmlio.c.
References __P, _free(), _rpmlio_debug, argvJoin(), cmd, __db_dbt::data, and __db_dbt::size.
Referenced by runScript().
int rpmlioPreun | ( | rpmdb | rpmdb, |
const char ** | av, | ||
const char * | body | ||
) |
Definition at line 398 of file rpmlio.c.
References __P, _free(), _rpmlio_debug, argvJoin(), cmd, __db_dbt::data, and __db_dbt::size.
Referenced by runScript().
int rpmlioRename | ( | rpmdb | rpmdb, |
const char * | oldname, | ||
const char * | newname, | ||
mode_t | mode, | ||
const uint8_t * | b, | ||
size_t | blen, | ||
const uint8_t * | d, | ||
size_t | dlen, | ||
uint32_t | dalgo | ||
) |
Definition at line 84 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioRmdir | ( | rpmdb | rpmdb, |
const char * | dn, | ||
mode_t | mode | ||
) |
Definition at line 136 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioSymlink | ( | rpmdb | rpmdb, |
const char * | ln, | ||
const char * | fn | ||
) |
Definition at line 262 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioUnlink | ( | rpmdb | rpmdb, |
const char * | fn, | ||
mode_t | mode, | ||
const uint8_t * | b, | ||
size_t | blen, | ||
const uint8_t * | d, | ||
size_t | dlen, | ||
uint32_t | dalgo | ||
) |
Definition at line 56 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int rpmlioUtime | ( | rpmdb | rpmdb, |
const char * | fn, | ||
time_t | actime, | ||
time_t | modtime | ||
) |
Definition at line 242 of file rpmlio.c.
References __P, _rpmlio_debug, __db_dbt::data, and __db_dbt::size.
Referenced by fsmStage().
int _rpmlio_debug = 0 |
Definition at line 19 of file rpmlio.c.
Referenced by rpmlioChmod(), rpmlioChown(), rpmlioCreat(), rpmlioLchown(), rpmlioLink(), rpmlioLsetfilecon(), rpmlioMkdir(), rpmlioMkfifo(), rpmlioMknod(), rpmlioPostin(), rpmlioPostun(), rpmlioPrein(), rpmlioPreun(), rpmlioRename(), rpmlioRmdir(), rpmlioSymlink(), rpmlioUnlink(), and rpmlioUtime().