|
rpm 5.3.7
|


Go to the source code of this file.
Functions | |
| DIR * | ftpOpendir (const char *path) |
| Create an argv directory from an ftp:// URI. | |
| int | davDisconnect (void *_u) |
| Close active neon transfer(s) (if any). | |
| int | davFree (urlinfo u) |
| Free persistent neon session state. | |
| void | davDestroy (void) |
| Free global neon+openSSL state memory. | |
| int | davReq (FD_t ctrl, const char *httpCmd, const char *httpArg) |
| Send a http request. | |
| int | davResp (urlinfo u, FD_t ctrl, char *const *str) |
| Read a http response. | |
| FD_t | davOpen (const char *url, int flags, mode_t mode, urlinfo *uret) |
| Open a URL. | |
| 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. | |
| struct dirent * | davReaddir (DIR *dir) |
| Return next entry from a DAV collection. | |
| DIR * | davOpendir (const char *path) |
| Create an argv directory from DAV collection. | |
| int | davStat (const char *path, struct stat *st) |
| stat(2) clone. | |
| int | davLstat (const char *path, struct stat *st) |
| lstat(2) clone. | |
| char * | davRealpath (const char *path, char *resolved_path) |
| realpath(3) clone. | |
Variables | |
| int | _ftp_debug |
| int | _dav_debug |
| int | rpmioHttpReadTimeoutSecs |
| int | rpmioHttpConnectTimeoutSecs |
| const char * | rpmioHttpAccept |
| const char * | rpmioHttpUserAgent |
Definition in file rpmdav.h.
| 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 |
| ssize_t davRead | ( | void * | cookie, |
| char * | buf, | ||
| size_t | count | ||
| ) |
Referenced by __fdRead().
| struct dirent* davReaddir | ( | DIR * | dir | ) | [read] |
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 | ) |
Definition at line 2194 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(), and rpmioItem_s::use.
Referenced by ufdOpen().
| int _dav_debug |
| int _ftp_debug |
| const char* rpmioHttpAccept |
Definition at line 99 of file rpmdav.c.
Referenced by httpOpen().
| const char* rpmioHttpUserAgent |
1.7.3