summaryrefslogtreecommitdiff
path: root/lib/rpmurl.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-17 20:40:41 +0000
committerjbj <devnull@localhost>1999-09-17 20:40:41 +0000
commitb8d3c0d56a77ca1131a74560413a0e8a16704f4f (patch)
tree01eff96646b6c3c1d23f3e140f7a9df176230f31 /lib/rpmurl.h
parentb226bc53d0074ed9eadc979abcda1adb75fd7ff3 (diff)
downloadrpm-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.tar.gz
rpm-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.tar.bz2
rpm-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.zip
lclint annotations.
CVS patchset: 3288 CVS date: 1999/09/17 20:40:41
Diffstat (limited to 'lib/rpmurl.h')
-rw-r--r--lib/rpmurl.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/rpmurl.h b/lib/rpmurl.h
index 879b59409..39b50dee8 100644
--- a/lib/rpmurl.h
+++ b/lib/rpmurl.h
@@ -50,26 +50,26 @@ typedef struct urlinfo {
extern "C" {
#endif
-const char * ftpStrerror(int ftpErrno);
+/*@only@*/ /*@observer@*/ const char * ftpStrerror(int ftpErrno);
void urlSetCallback(rpmCallbackFunction notify, void *notifyData, int notifyCount);
int httpOpen(urlinfo *u);
int ftpOpen(urlinfo *u);
-int httpGetFile(FD_t sfd, FD_t tfd);
-int ftpGetFile(FD_t sfd, FD_t tfd);
+int httpGetFile(/*@only@*/FD_t sfd, FD_t tfd);
+int ftpGetFile(/*@only@*/FD_t sfd, FD_t tfd);
int ftpGetFileDesc(FD_t);
-int ftpAbort(FD_t fd);
-int ftpClose(FD_t fd);
+int ftpAbort(/*@only@*/FD_t fd);
+int ftpClose(/*@only@*/FD_t fd);
urltype urlIsURL(const char * url);
-int urlSplit(const char *url, urlinfo **u);
-urlinfo *newUrlinfo(void);
-void freeUrlinfo(urlinfo *u);
+int urlSplit(const char *url, /*@out@*/urlinfo **u);
+/*@only@*/urlinfo *newUrlinfo(void);
+void freeUrlinfo(/*@only@*/urlinfo *u);
-FD_t ufdOpen(const char * pathname, int flags, mode_t mode);
-int ufdClose(FD_t fd);
-const char *urlStrerror(const char *url);
+/*@only@*/ FD_t ufdOpen(const char * pathname, int flags, mode_t mode);
+int ufdClose(/*@only@*/FD_t fd);
+/*@observer@*/ const char *urlStrerror(const char *url);
int urlGetFile(const char * url, const char * dest);
void urlInvalidateCache(const char * url);