summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-06-17 22:18:03 +0000
committerjbj <devnull@localhost>2001-06-17 22:18:03 +0000
commit29ea1567e7eafc457aed5529b240161cf8d4657f (patch)
treea791a4344419b7b942fd4d755d25a3a6b4c4e5a3 /rpmio
parentc32276cdf5c28d7d701d7211e55f28ebc6f097d7 (diff)
downloadrpm-29ea1567e7eafc457aed5529b240161cf8d4657f.tar.gz
rpm-29ea1567e7eafc457aed5529b240161cf8d4657f.tar.bz2
rpm-29ea1567e7eafc457aed5529b240161cf8d4657f.zip
Sync with rpm-4_0 branch.
CVS patchset: 4876 CVS date: 2001/06/17 22:18:03
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio.h6
-rw-r--r--rpmio/rpmurl.h6
2 files changed, 10 insertions, 2 deletions
diff --git a/rpmio/rpmio.h b/rpmio/rpmio.h
index 468f0fa03..721eafed0 100644
--- a/rpmio/rpmio.h
+++ b/rpmio/rpmio.h
@@ -389,12 +389,14 @@ ssize_t fdWrite(void * cookie, const char * buf, size_t count)
int fdClose( /*@only@*/ void * cookie)
/*@modifies *cookie, fileSystem @*/;
-/* XXX FD_t reference count debugging wrappers */
+/**
+ * FD_t reference count debugging wrappers.
+ * @todo Remove debugging entries from the ABI.
+ */
#define fdLink(_fd, _msg) fdio->_fdref(_fd, _msg, __FILE__, __LINE__)
#define fdFree(_fd, _msg) fdio->_fdderef(_fd, _msg, __FILE__, __LINE__)
#define fdNew(_msg) fdio->_fdnew(_msg, __FILE__, __LINE__)
-
/** \ingroup rpmio
*/
int fdWritable(FD_t fd, int secs)
diff --git a/rpmio/rpmurl.h b/rpmio/rpmurl.h
index a08b565db..11dbf53b2 100644
--- a/rpmio/rpmurl.h
+++ b/rpmio/rpmurl.h
@@ -59,6 +59,8 @@ extern int url_iobuf_size;
* @return new instance
*/
urlinfo urlNew(const char * msg) /*@*/;
+
+/** @todo Remove debugging entry from the ABI. */
urlinfo XurlNew(const char * msg, const char * file, unsigned line) /*@*/;
#define urlNew(_msg) XurlNew(_msg, __FILE__, __LINE__)
@@ -70,6 +72,8 @@ urlinfo XurlNew(const char * msg, const char * file, unsigned line) /*@*/;
*/
urlinfo urlLink(urlinfo u, const char * msg)
/*@modifies u @*/;
+
+/** @todo Remove debugging entry from the ABI. */
urlinfo XurlLink(urlinfo u, const char * msg, const char * file, unsigned line)
/*@modifies u @*/;
#define urlLink(_u, _msg) XurlLink(_u, _msg, __FILE__, __LINE__)
@@ -82,6 +86,8 @@ urlinfo XurlLink(urlinfo u, const char * msg, const char * file, unsigned line)
*/
urlinfo urlFree( /*@killref@*/ urlinfo u, const char * msg)
/*@modifies u @*/;
+
+/** @todo Remove debugging entry from the ABI. */
urlinfo XurlFree( /*@killref@*/ urlinfo u, const char * msg,
const char * file, unsigned line)
/*@modifies u @*/;