RPMRPC Vectors. | |
typedef int(* | fdio_mkdir_function_t )(const char *path, mode_t mode) |
typedef int(* | fdio_chdir_function_t )(const char *path) |
typedef int(* | fdio_rmdir_function_t )(const char *path) |
typedef int(* | fdio_rename_function_t )(const char *oldpath, const char *newpath) |
typedef int(* | fdio_unlink_function_t )(const char *path) |
typedef int(* | fdio_stat_function_t )(const char *path, struct stat *st) |
typedef int(* | fdio_lstat_function_t )(const char *path, struct stat *st) |
typedef int(* | fdio_access_function_t )(const char *path, int amode) |
RPMRPC Interface. | |
int | Mkdir (const char *path, mode_t mode) |
mkdir(2) clone. | |
int | Chdir (const char *path) |
chdir(2) clone. | |
int | Rmdir (const char *path) |
rmdir(2) clone. | |
int | Rename (const char *oldpath, const char *newpath) |
rename(2) clone. | |
int | Link (const char *oldpath, const char *newpath) |
link(2) clone. | |
int | Unlink (const char *path) |
unlink(2) clone. | |
int | Readlink (const char *path, char *buf, size_t bufsiz) |
readlink(2) clone. | |
int | Stat (const char *path, struct stat *st) |
stat(2) clone. | |
int | Lstat (const char *path, struct stat *st) |
lstat(2) clone. | |
int | Access (const char *path, int amode) |
access(2) clone. | |
int | Glob (const char *pattern, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob) |
glob(3) clone. | |
void | Globfree (glob_t *pglob) |
globfree(3) clone. | |
DIR * | Opendir (const char *path) |
opendir(3) clone. | |
dirent * | Readdir (DIR *dir) |
readdir(3) clone. | |
int | Closedir (DIR *dir) |
closedir(3) clone. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
access(2) clone.
Definition at line 1137 of file rpmrpc.c. References _rpmio_debug, URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by chkdir(). |
|
chdir(2) clone.
Definition at line 92 of file rpmrpc.c. References ftpChdir(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). |
|
closedir(3) clone.
Definition at line 1233 of file rpmrpc.c. References _rpmio_debug. Referenced by myftw(), and myftw_dir(). |
|
glob(3) clone.
Definition at line 1160 of file rpmrpc.c. References _rpmio_debug, ftpGlob(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by rpmGlob(). |
|
globfree(3) clone.
Definition at line 1188 of file rpmrpc.c. References _rpmio_debug, and ftpGlobfree(). Referenced by rpmGlob(). |
|
link(2) clone.
Definition at line 187 of file rpmrpc.c. References _rpmio_debug, URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, urlPath(), and xstrncasecmp(). Referenced by fsmStage(). |
|
lstat(2) clone.
Definition at line 1089 of file rpmrpc.c. References _rpmio_debug, ftpLstat(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by addFile(), checkOwners(), doUntar(), fsmStage(), myftw(), myftw_dir(), and rpmVerifyFile(). |
|
mkdir(2) clone.
Definition at line 69 of file rpmrpc.c. References ftpMkdir(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by chkdir(), fsmStage(), packageBinaries(), and rpmdbRebuild(). |
|
opendir(3) clone.
Definition at line 1200 of file rpmrpc.c. References _rpmio_debug, URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by myftw(), and myftw_dir(). |
|
readdir(3) clone.
Definition at line 1226 of file rpmrpc.c. References _rpmio_debug, and dirent. Referenced by myftw_dir(). |
|
readlink(2) clone.
Definition at line 1114 of file rpmrpc.c. References ftpReadlink(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by fsmStage(), genCpioListAndHeader(), and rpmVerifyFile(). |
|
rename(2) clone.
Definition at line 140 of file rpmrpc.c. References _rpmio_debug, ftpRename(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, urlPath(), and xstrncasecmp(). Referenced by fsmStage(), and rpmdbMoveDatabase(). |
|
rmdir(2) clone.
Definition at line 115 of file rpmrpc.c. References ftpRmdir(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by fsmStage(), and rpmdbRebuild(). |
|
stat(2) clone.
Definition at line 1064 of file rpmrpc.c. References _rpmio_debug, ftpStat(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by buildForTarget(), chkdir(), fsmStage(), packageBinaries(), processSourceFiles(), and rpmioFileExists(). |
|
unlink(2) clone.
Definition at line 231 of file rpmrpc.c. References ftpUnlink(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlPath(). Referenced by buildForTarget(), buildSpec(), doRmSource(), doScript(), fsmStage(), rpmInstall(), and writeRPM(). |