rpm
5.4.15
|
Go to the source code of this file.
Functions | |
DIR * | ftpOpendir (const char *path) |
Create an argv directory from an ftp:// URI. More... | |
int | davDisconnect (void *_u) |
Close active neon transfer(s) (if any). More... | |
int | davFree (urlinfo u) |
Free persistent neon session state. More... | |
void | davDestroy (void) |
Free global neon+openSSL state memory. More... | |
int | davReq (FD_t ctrl, const char *httpCmd, const char *httpArg) |
Send a http request. More... | |
int | davResp (urlinfo u, FD_t ctrl, char *const *str) |
Read a http response. More... | |
FD_t | davOpen (const char *url, int flags, mode_t mode, urlinfo *uret) |
Open a URL. More... | |
FD_t | httpOpen (const char *url, int flags, mode_t mode, urlinfo *uret) |
ssize_t | davRead (void *cookie, char *buf, size_t count) |
ssize_t | davWrite (void *cookie, const char *buf, size_t count) |
int | davSeek (void *cookie, _libio_pos_t pos, int whence) |
int | davClose (void *cookie) |
int | davMkdir (const char *path, mode_t mode) |
int | davRmdir (const char *path) |
int | davRename (const char *oldpath, const char *newpath) |
int | davUnlink (const char *path) |
int | davClosedir (DIR *dir) |
Close a DAV collection. More... | |
struct dirent * | davReaddir (DIR *dir) |
Return next entry from a DAV collection. More... | |
DIR * | davOpendir (const char *path) |
Create an argv directory from DAV collection. More... | |
int | davStat (const char *path, struct stat *st) |
stat(2) clone. More... | |
int | davLstat (const char *path, struct stat *st) |
lstat(2) clone. More... | |
char * | davRealpath (const char *path, char *resolved_path) |
realpath(3) clone. More... | |
Variables | |
int | _ftp_debug |
int | _dav_debug |
int | rpmioHttpReadTimeoutSecs |
int | rpmioHttpConnectTimeoutSecs |
const char * | rpmioHttpAccept |
const char * | rpmioHttpUserAgent |
int davClose | ( | void * | cookie | ) |
Referenced by __fdClose().
int davClosedir | ( | DIR * | dir | ) |
Close a DAV collection.
dir | argv DIR |
void davDestroy | ( | void | ) |
Free global neon+openSSL state memory.
Referenced by rpmioClean().
int davDisconnect | ( | void * | _u | ) |
Close active neon transfer(s) (if any).
_u | URL container |
Referenced by Fclose().
int davFree | ( | urlinfo | u | ) |
Free persistent neon session state.
u | URL container |
Referenced by urlFini().
int davLstat | ( | const char * | path, |
struct stat * | st | ||
) |
lstat(2) clone.
Referenced by Lstat().
int davMkdir | ( | const char * | path, |
mode_t | mode | ||
) |
Referenced by Mkdir().
DIR* davOpendir | ( | const char * | path | ) |
Create an argv directory from DAV collection.
path | URL for DAV collection path |
Referenced by Opendir().
ssize_t davRead | ( | void * | cookie, |
char * | buf, | ||
size_t | count | ||
) |
Referenced by __fdRead().
struct dirent* davReaddir | ( | DIR * | dir | ) |
Return next entry from a DAV collection.
dir | argv DIR |
char* davRealpath | ( | const char * | path, |
char * | resolved_path | ||
) |
realpath(3) clone.
Referenced by Realpath().
int davRename | ( | const char * | oldpath, |
const char * | newpath | ||
) |
Referenced by Rename().
int davReq | ( | FD_t | ctrl, |
const char * | httpCmd, | ||
const char * | httpArg | ||
) |
Send a http request.
ctrl | connection stream |
httpCmd | http command |
httpArg | http command argument (NULL if none) |
Referenced by ufdOpen().
Read a http response.
u | URL container |
ctrl | connection stream |
*str | error msg |
int davRmdir | ( | const char * | path | ) |
Referenced by Rmdir().
int davSeek | ( | void * | cookie, |
_libio_pos_t | pos, | ||
int | whence | ||
) |
int davStat | ( | const char * | path, |
struct stat * | st | ||
) |
stat(2) clone.
Referenced by Stat().
int davUnlink | ( | const char * | path | ) |
Referenced by Unlink().
ssize_t davWrite | ( | void * | cookie, |
const char * | buf, | ||
size_t | count | ||
) |
Referenced by __fdWrite().
DIR* ftpOpendir | ( | const char * | path | ) |
Create an argv directory from an ftp:// URI.
path | ftp:// directory path |
Definition at line 1254 of file rpmrpc.c.
References _ftp_debug, avOpendir(), DO_FTP_GLOB, errno, ftpBuf, ftpNLST(), rpmavxNew(), S_IFSOCK, and xcalloc().
Referenced by Opendir().
Definition at line 2222 of file rpmdav.c.
References _FD_s::_item, _FD_s::bytesRemain, _FD_s::contentLength, urlinfo_s::ctrl, urlinfo_s::data, fdLink(), fdNew(), fdSetIo(), _FD_s::ftpFileDoneNeeded, L, _FD_s::rd_timeoutsecs, rpmioHttpReadTimeoutSecs, _FD_s::u, ufdio, urlLink(), urlSplit(), rpmioItem_s::use, yarnPeekLock(), yarnPossess(), and yarnRelease().
Referenced by ufdOpen().
int _ftp_debug |
Definition at line 190 of file rpmio.c.
Referenced by checkResponse(), ftpCommand(), ftpReq(), httpReq(), httpResp(), and tcpConnect().
int rpmioHttpReadTimeoutSecs |
Definition at line 104 of file rpmdav.c.
Referenced by httpOpen().