#include "system.h"
#include <rpmio_internal.h>
#include <popt.h>
#include "ugid.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | g_strdup xstrdup |
#define | g_free free |
#define | MAXCOLS 30 |
#define | alloca_strdup(_s) strcpy(alloca(strlen(_s)+1), (_s)) |
Enumerations | |
enum | ftpSysCall_t { DO_FTP_STAT = 1, DO_FTP_LSTAT = 2, DO_FTP_READLINK = 3, DO_FTP_ACCESS = 4, DO_FTP_GLOB = 5 } |
Functions | |
int | ftpMkdir (const char *path, mode_t mode) |
int | ftpChdir (const char *path) |
int | ftpRmdir (const char *path) |
int | ftpRename (const char *oldpath, const char *newpath) |
int | ftpUnlink (const char *path) |
int | Mkdir (const char *path, mode_t mode) |
mkdir(2) clone. More... | |
int | Chdir (const char *path) |
chdir(2) clone. More... | |
int | Rmdir (const char *path) |
rmdir(2) clone. More... | |
int | Rename (const char *oldpath, const char *newpath) |
rename(2) clone. More... | |
int | Link (const char *oldpath, const char *newpath) |
link(2) clone. More... | |
int | Unlink (const char *path) |
unlink(2) clone. More... | |
int | vfs_split_text (char *p) |
int | is_num (int idx) |
int | is_dos_date (const char *str) |
int | is_week (const char *str, struct tm *tim) |
int | is_month (const char *str, struct tm *tim) |
int | is_time (const char *str, struct tm *tim) |
int | is_year (const char *str, struct tm *tim) |
int | vfs_parse_filetype (char c) |
int | vfs_parse_filemode (const char *p) |
int | vfs_parse_filedate (int idx, time_t *t) |
int | vfs_parse_ls_lga (char *p, struct stat *st, const char **filename, const char **linkname) |
int | ftpNLST (const char *url, ftpSysCall_t ftpSysCall, struct stat *st, char *rlbuf, size_t rlbufsiz) |
int | ftpStat (const char *path, struct stat *st) |
int | ftpLstat (const char *path, struct stat *st) |
int | ftpReadlink (const char *path, char *buf, size_t bufsiz) |
int | ftpGlob (const char *path, int flags, int errfunc(const char *epath, int eerno), glob_t *pglob) |
void | ftpGlobfree (glob_t *pglob) |
int | Stat (const char *path, struct stat *st) |
stat(2) clone. More... | |
int | Lstat (const char *path, struct stat *st) |
lstat(2) clone. More... | |
int | Readlink (const char *path, char *buf, size_t bufsiz) |
readlink(2) clone. More... | |
int | Access (const char *path, int amode) |
access(2) clone. More... | |
int | Glob (const char *path, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob) |
glob(3) clone. More... | |
void | Globfree (glob_t *pglob) |
globfree(3) clone. More... | |
DIR* | Opendir (const char *path) |
opendir(3) clone. More... | |
struct direct* | Readdir (DIR *dir) |
readdir(3) clone. More... | |
int | Closedir (DIR *dir) |
closedir(3) clone. More... | |
Variables | |
int | _rpmio_debug |
int | current_mday |
int | current_mon |
int | current_year |
char* | columns [30] |
int | column_ptr [30] |
size_t | ftpBufAlloced = 0 |
char* | ftpBuf = NULL |
Definition in file rpmrpc.c.
|
|
|
|
|
Definition at line 250 of file rpmrpc.c. Referenced by vfs_parse_ls_lga().
|
|
Definition at line 249 of file rpmrpc.c. Referenced by vfs_parse_ls_lga().
|
|
|
|
access(2) clone.
Definition at line 1100 of file rpmrpc.c. Referenced by chkdir().
|
|
chdir(2) clone.
|
|
closedir(3) clone.
Definition at line 1192 of file rpmrpc.c. Referenced by myftw(), and myftw_dir().
|
|
glob(3) clone.
Definition at line 1123 of file rpmrpc.c. Referenced by rpmGlob().
|
|
globfree(3) clone.
Definition at line 1151 of file rpmrpc.c. Referenced by rpmGlob().
|
|
link(2) clone.
Definition at line 181 of file rpmrpc.c. Referenced by fsmStage().
|
|
lstat(2) clone.
Definition at line 1052 of file rpmrpc.c. Referenced by addFile(), checkOwners(), doUntar(), fsmStage(), myftw(), myftw_dir(), and rpmVerifyFile().
|
|
opendir(3) clone.
Definition at line 1161 of file rpmrpc.c. Referenced by myftw(), and myftw_dir().
|
|
readdir(3) clone.
Definition at line 1185 of file rpmrpc.c. Referenced by myftw_dir().
|
|
readlink(2) clone.
Definition at line 1077 of file rpmrpc.c. Referenced by fsmStage(), genCpioListAndHeader(), and rpmVerifyFile().
|
|
rename(2) clone.
Definition at line 134 of file rpmrpc.c. Referenced by fsmStage(), and rpmdbMoveDatabase().
|
|
rmdir(2) clone.
Definition at line 109 of file rpmrpc.c. Referenced by fsmStage(), and rpmdbRebuild().
|
|
stat(2) clone.
Definition at line 1027 of file rpmrpc.c. Referenced by buildForTarget(), chkdir(), fsmStage(), packageBinaries(), processSourceFiles(), and rpmfileexists().
|
|
unlink(2) clone.
Definition at line 225 of file rpmrpc.c. Referenced by buildForTarget(), buildSpec(), doRmSource(), doScript(), fsmStage(), rpmInstall(), urlGetFile(), and writeRPM().
|
|
Definition at line 34 of file rpmrpc.c. Referenced by Chdir(), and ftpNLST().
|
|
Definition at line 995 of file rpmrpc.c. Referenced by Glob().
|
|
Definition at line 1016 of file rpmrpc.c. Referenced by Globfree().
|
|
Definition at line 979 of file rpmrpc.c. Referenced by Lstat().
|
|
Definition at line 19 of file rpmrpc.c. Referenced by Mkdir().
|
|
Definition at line 791 of file rpmrpc.c. Referenced by ftpGlob(), ftpLstat(), ftpReadlink(), and ftpStat().
|
|
Definition at line 989 of file rpmrpc.c. Referenced by Readlink().
|
|
Definition at line 46 of file rpmrpc.c. Referenced by Rename().
|
|
Definition at line 40 of file rpmrpc.c. Referenced by Rmdir().
|
|
Definition at line 973 of file rpmrpc.c. Referenced by Stat().
|
|
Definition at line 55 of file rpmrpc.c. Referenced by Unlink().
|
|
Definition at line 296 of file rpmrpc.c. Referenced by vfs_parse_filedate(), and vfs_parse_ls_lga().
|
|
Definition at line 323 of file rpmrpc.c. Referenced by vfs_parse_filedate(), and vfs_parse_ls_lga().
|
|
Definition at line 287 of file rpmrpc.c. Referenced by vfs_parse_filedate(), and vfs_parse_ls_lga().
|
|
Definition at line 340 of file rpmrpc.c. Referenced by vfs_parse_filedate().
|
|
Definition at line 306 of file rpmrpc.c. Referenced by vfs_parse_filedate(), and vfs_parse_ls_lga().
|
|
Definition at line 359 of file rpmrpc.c. Referenced by vfs_parse_filedate().
|
|
Definition at line 469 of file rpmrpc.c. Referenced by vfs_parse_ls_lga().
|
|
Definition at line 410 of file rpmrpc.c. Referenced by vfs_parse_ls_lga().
|
|
Definition at line 391 of file rpmrpc.c. Referenced by vfs_parse_ls_lga().
|
|
Definition at line 576 of file rpmrpc.c. Referenced by ftpNLST().
|
|
Definition at line 266 of file rpmrpc.c. Referenced by vfs_parse_ls_lga().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|