diff options
author | jbj <devnull@localhost> | 2001-05-03 21:00:18 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-05-03 21:00:18 +0000 |
commit | d78e027808deb6aef4e65338d160986d7e576a90 (patch) | |
tree | 53cddb260f6b5a0fab362b6c0f6f3375d0cacb8b /rpmio/rpmurl.h | |
parent | 0ecdbba93587408c670124e88d39451c681a77eb (diff) | |
download | librpm-tizen-d78e027808deb6aef4e65338d160986d7e576a90.tar.gz librpm-tizen-d78e027808deb6aef4e65338d160986d7e576a90.tar.bz2 librpm-tizen-d78e027808deb6aef4e65338d160986d7e576a90.zip |
- still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
Diffstat (limited to 'rpmio/rpmurl.h')
-rw-r--r-- | rpmio/rpmurl.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/rpmio/rpmurl.h b/rpmio/rpmurl.h index b62f037f3..f862de5aa 100644 --- a/rpmio/rpmurl.h +++ b/rpmio/rpmurl.h @@ -26,21 +26,21 @@ typedef enum { */ typedef /*@abstract@*/ /*@refcounted@*/ struct urlinfo { /*@refs@*/ int nrefs; /*!< no. of references */ - const char * url; /*!< copy of original url */ - const char * service; - const char * user; - const char * password; - const char * host; - const char * portstr; - const char * proxyu; /*!< FTP: proxy user */ - const char * proxyh; /*!< FTP/HTTP: proxy host */ +/*@owned@*//*@null@*/ const char * url; /*!< copy of original url */ +/*@owned@*//*@null@*/ const char * service; +/*@owned@*//*@null@*/ const char * user; +/*@owned@*//*@null@*/ const char * password; +/*@owned@*//*@null@*/ const char * host; +/*@owned@*//*@null@*/ const char * portstr; +/*@owned@*//*@null@*/ const char * proxyu; /*!< FTP: proxy user */ +/*@owned@*//*@null@*/ const char * proxyh; /*!< FTP/HTTP: proxy host */ int proxyp; /*!< FTP/HTTP: proxy port */ int port; int urltype; FD_t ctrl; /*!< control channel */ FD_t data; /*!< per-xfer data channel */ int bufAlloced; /*!< sizeof I/O buffer */ - char *buf; /*!< I/O buffer */ +/*@owned@*/ char *buf; /*!< I/O buffer */ int openError; /*!< Type of open failure */ int httpVersion; int httpHasRange; @@ -118,7 +118,7 @@ int urlSplit(const char * url, /*@out@*/ urlinfo * u) * @param dest file name of destination * @return 0 on success, otherwise FTPERR_* code */ -int urlGetFile(const char * url, const char * dest); +int urlGetFile(const char * url, /*@null@*/ const char * dest); #ifdef __cplusplus } |