summaryrefslogtreecommitdiff
path: root/rpmio/rpmio_internal.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-24 21:53:14 +0000
committerjbj <devnull@localhost>2001-09-24 21:53:14 +0000
commit9d555b6216692deeb97eb821e42716a7cd529ae0 (patch)
tree047af9e929f71681dbdf00af8d7b3bbe23cbfcc1 /rpmio/rpmio_internal.h
parent76b20cd2f4ebd499766aec27f62089690ac1d073 (diff)
downloadrpm-9d555b6216692deeb97eb821e42716a7cd529ae0.tar.gz
rpm-9d555b6216692deeb97eb821e42716a7cd529ae0.tar.bz2
rpm-9d555b6216692deeb97eb821e42716a7cd529ae0.zip
Move to lclint-3.0.0.15, revisit and clean up annotations.
intl/: Add gettext orphans. popt/intl/: Add gettext orphans. beecrypt: Add beecrypt repository. rpmio/tdigest.c: Add beecrypt digest checks. CVS patchset: 5077 CVS date: 2001/09/24 21:53:14
Diffstat (limited to 'rpmio/rpmio_internal.h')
-rw-r--r--rpmio/rpmio_internal.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h
index 3225a607d..a10695e7d 100644
--- a/rpmio/rpmio_internal.h
+++ b/rpmio/rpmio_internal.h
@@ -142,17 +142,29 @@ extern int _rpmio_debug;
extern "C" {
#endif
+/** \ingroup rpmio
+ */
int fdFgets(FD_t fd, char * buf, size_t len)
/*@modifies *buf, fd, fileSystem @*/;
+/** \ingroup rpmio
+ */
/*@null@*/ FD_t ftpOpen(const char *url, /*@unused@*/ int flags,
/*@unused@*/ mode_t mode, /*@out@*/ urlinfo *uret)
/*@modifies *uret, fileSystem @*/;
+
+/** \ingroup rpmio
+ */
int ftpReq(FD_t data, const char * ftpCmd, const char * ftpArg)
/*@modifies data, fileSystem @*/;
+
+/** \ingroup rpmio
+ */
int ftpCmd(const char * cmd, const char * url, const char * arg2)
/*@modifies fileSystem @*/;
+/** \ingroup rpmio
+ */
int ufdClose( /*@only@*/ void * cookie)
/*@modified cookie, fileSystem @*/;
@@ -183,25 +195,23 @@ void fdSetIo(FD_t fd, /*@kept@*/ /*@null@*/ FDIO_t io)
/** \ingroup rpmio
*/
/*@unused@*/ static inline
-/*@dependent@*/ /*@null@*/ FILE * fdGetFILE(FD_t fd)
+/*@exposed@*/ /*@dependent@*/ /*@null@*/ FILE * fdGetFILE(FD_t fd)
/*@*/
{
FDSANE(fd);
- /*@+voidabstract -retexpose@*/
+ /*@+voidabstract@*/
return ((FILE *)fd->fps[fd->nfps].fp);
- /*@=voidabstract =retexpose@*/
+ /*@=voidabstract@*/
}
/** \ingroup rpmio
*/
/*@unused@*/ static inline
-/*@dependent@*/ /*@null@*/ void * fdGetFp(FD_t fd)
+/*@exposed@*/ /*@dependent@*/ /*@null@*/ void * fdGetFp(FD_t fd)
/*@*/
{
FDSANE(fd);
- /*@-retexpose@*/
return fd->fps[fd->nfps].fp;
- /*@=retexpose@*/
}
/** \ingroup rpmio